annotate tests/mini/multiarr3.d @ 341:1bb99290e03a trunk

[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
author lindquist
date Sun, 13 Jul 2008 02:51:19 +0200
parents test/multiarr3.d@b688ad419f8c
children
rev   line source
lindquist@64 1 module multiarr3;
lindquist@64 2
lindquist@64 3 void main()
lindquist@64 4 {
lindquist@64 5 static int[2][2] arr = [[1,2],[3,4]];
lindquist@64 6 assert(arr[0][0] == 1);
lindquist@64 7 assert(arr[0][1] == 2);
lindquist@64 8 assert(arr[1][0] == 3);
lindquist@64 9 assert(arr[1][1] == 4);
lindquist@64 10 }