view tests/mini/bug29.d @ 862:e8337278f49b

temporary fix for runtime buildscript to copy ldc's imports to tango
author elrood
date Thu, 18 Dec 2008 19:21:44 +0100
parents 1bb99290e03a
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);
            }
        }
    }
}