Mercurial > projects > dstress
annotate run/debug_02.d @ 140:a33ad7189d21
1) news:// -> news:
2) nttp://.../...:... -> nntp://.../.../...
3) added missing mime types
4) added line ending styles
5) added missing keywords
author | thomask |
---|---|
date | Tue, 16 Nov 2004 16:00:10 +0000 |
parents | 659bb018c489 |
children | 52c9e86b6486 |
rev | line source |
---|---|
140 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
84 | 5 // @author@ Thomas Kuehne <eisvogel@users.sourceforge.net> |
6 // @date@ 2004-10-16 | |
140 | 7 // @uri@ news:ckro4i$1b4l$2@digitaldaemon.com |
8 // @url@ nntp://digitalmars.com/digitalmars.D.bugs/2119 | |
84 | 9 |
85
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
84
diff
changeset
|
10 // __DSTRESS_DFLAGS__ -debug=2 |
84 | 11 |
12 module dstress.run.debug_02; | |
13 | |
14 int main(){ | |
15 int i=0; | |
16 assert(i==0); | |
17 debug(1){ | |
85
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
84
diff
changeset
|
18 i++; |
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
84
diff
changeset
|
19 assert(i==1); |
84 | 20 } |
21 debug(2){ | |
22 i++; | |
85
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
84
diff
changeset
|
23 assert(i==2); |
84 | 24 } |
25 debug(3){ | |
85
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
84
diff
changeset
|
26 assert(0); |
84 | 27 } |
28 assert(i==2); | |
29 return 0; | |
30 } |