Mercurial > projects > dstress
comparison run/a/array_initialization_30_B.d @ 1330:f3f715978184
Georg Wrede <georg@iki.fi>
2007-01-07
mail:45A120F5.1050108@iki.fi
author | thomask |
---|---|
date | Sat, 13 Jan 2007 10:33:49 +0000 |
parents | a0be8cc7caa3 |
children |
comparison
equal
deleted
inserted
replaced
1329:1c8652b3795a | 1330:f3f715978184 |
---|---|
14 int main(){ | 14 int main(){ |
15 auto x = new Xint[3][4]; | 15 auto x = new Xint[3][4]; |
16 | 16 |
17 x.length = 200; | 17 x.length = 200; |
18 | 18 |
19 if(x.length != 20){ | 19 if(x.length != 200){ |
20 assert(0); | 20 assert(0); |
21 } | 21 } |
22 foreach(i; x) { | 22 foreach(i; x) { |
23 if(i.length != 3){ | 23 if(i.length != 3){ |
24 assert(0); | 24 assert(0); |