annotate tests/mini/aa2_1.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
children
rev   line source
lindquist@341 1 module tangotests.aa2_1;
lindquist@341 2
lindquist@341 3 int main()
lindquist@341 4 {
lindquist@341 5 int[cdouble] x;
lindquist@341 6 cdouble d=22.0+0.0i;
lindquist@341 7 x[d] = 44;
lindquist@341 8 if(44 != x[d]){
lindquist@341 9 assert(0);
lindquist@341 10 }
lindquist@341 11 return 0;
lindquist@341 12 }