view test/bug29.d @ 321:571959608194 trunk

[svn r342] Fix DMD bug 2206. Implement mixin declarations in LLVMDC.
author ChristianK
date Wed, 09 Jul 2008 17:01:08 +0200
parents d9d5d59873d8
children
line wrap: on
line source

module bug29;
extern(C) int printf(char*, ...);

void main()
{
    int[] arr16 = new int[4];
    {
        void[] arr = arr16;
        {
            printf("%lu\n", arr.length);
            {
                assert(arr.length == 16);
            }
        }
    }
}