Mercurial > projects > dstress
annotate run/b/bug_type_308_A.d @ 1319:81222734adf3
sed'ed replacement of new:...http.d.puremagic.co... with http://d.puremagic.com/issues/show_bug.cgi?...
author | thomask |
---|---|
date | Sun, 31 Dec 2006 19:58:06 +0000 |
parents | 03b5056496f1 |
children |
rev | line source |
---|---|
947 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ <clugdbug@yahoo.com.au> | |
6 // @date@ 2006-04-04 | |
1319
81222734adf3
sed'ed replacement of new:...http.d.puremagic.co... with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents:
1089
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=84 |
947 | 8 |
9 module dstress.run.b.bug_type_308_A; | |
10 | |
1089 | 11 int main() { |
947 | 12 int [3][3] x; |
13 x[1][1 .. 3] = 1; | |
14 | |
15 if(x[0][0] != 0){ | |
16 assert(0); | |
17 } | |
18 if(x[0][1] != 0){ | |
19 assert(0); | |
20 } | |
21 if(x[0][2] != 0){ | |
22 assert(0); | |
23 } | |
24 | |
25 if(x[1][0] != 0){ | |
26 assert(0); | |
27 } | |
28 if(x[1][1] != 1){ | |
29 assert(0); | |
30 } | |
31 if(x[1][2] != 1){ | |
32 assert(0); | |
33 } | |
34 | |
35 if(x[2][0] != 0){ | |
36 assert(0); | |
37 } | |
38 if(x[2][1] != 0){ | |
39 assert(0); | |
40 } | |
41 if(x[2][2] != 0){ | |
42 assert(0); | |
43 } | |
44 | |
45 return 0; | |
46 } |