annotate tests/mini/aa5.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/aa5.d@5ab8e92611f9
children
rev   line source
lindquist@109 1 module aa5;
lindquist@109 2
lindquist@109 3 void main()
lindquist@109 4 {
lindquist@109 5 int[int] aa;
lindquist@109 6 aa[42] = 1;
lindquist@109 7 int i = aa[42];
lindquist@109 8 assert(i == 1);
lindquist@109 9 }