annotate tests/mini/arrayinit.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@1 1 module arrayinit;
lindquist@1 2 float[4] ftable = [1,2,3,4];
lindquist@1 3 int[8] itable = [3:42,6:123];
lindquist@1 4
lindquist@1 5 private uint[7] crc32_table = [0x00000000,0x77073096,0xee0e612c,0x990951ba,0x076dc419,0x706af48f,0xe963a535];
lindquist@12 6
lindquist@12 7 void main()
lindquist@12 8 {
lindquist@12 9 assert(crc32_table[3] == 0x990951ba);
lindquist@12 10 }