annotate tests/mini/void1.d @ 883:b52d5de7783f

GC defines and linkage changes.
author Christian Kamm <kamm incasoftware de>
date Thu, 08 Jan 2009 18:20:02 +0100
parents 1bb99290e03a
children
rev   line source
lindquist@341 1 extern(C) int printf(char*, ...);
lindquist@341 2
lindquist@341 3 void main()
lindquist@341 4 {
lindquist@341 5 int[0][10] arr;
lindquist@341 6 printf("%u\n", &arr[9] - &arr[0]);
lindquist@341 7 int[0] arr1;
lindquist@341 8 printf("%p\n", &arr1);
lindquist@341 9 void[0] arr2;
lindquist@341 10 printf("%p\n", &arr2);
lindquist@341 11 }