annotate test/bug29.d @ 52:0c77619e803b trunk

[svn r56] Initial support for TypeInfo. Enums not work. Several other bugfixes.
author lindquist
date Tue, 23 Oct 2007 05:55:12 +0200
parents
children d9d5d59873d8
rev   line source
lindquist@52 1 module bug29;
lindquist@52 2
lindquist@52 3 void main()
lindquist@52 4 {
lindquist@52 5 int[] arr16 = new int[4];
lindquist@52 6 {
lindquist@52 7 void[] arr = arr16;
lindquist@52 8 {
lindquist@52 9 printf("%lu\n", arr.length);
lindquist@52 10 {
lindquist@52 11 assert(arr.length == 16);
lindquist@52 12 }
lindquist@52 13 }
lindquist@52 14 }
lindquist@52 15 }