comparison run/associative_array_16.d @ 1559:ec5e144583ea

D1 -> D2 : 1/N
author thomask
date Sun, 19 Aug 2007 19:11:54 +0000
parents b8c0195059d9
children
comparison
equal deleted inserted replaced
1558:d40d75fcd5c5 1559:ec5e144583ea
10 10
11 int main() { 11 int main() {
12 int[idouble] x; 12 int[idouble] x;
13 idouble d=22i; 13 idouble d=22i;
14 x[d] = 44; 14 x[d] = 44;
15 assert( x[d] == 44 ); 15 if(44 != x[d]){
16 assert(0);
17 }
16 return 0; 18 return 0;
17 } 19 }