Mercurial > projects > dstress
annotate run/debug_01.d @ 85:659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
2) added several bug reports
3) fixed some test cases
author | thomask |
---|---|
date | Sun, 31 Oct 2004 21:21:04 +0000 |
parents | 91feffeeafa6 |
children | f87ba6507260 |
rev | line source |
---|---|
85
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
84
diff
changeset
|
1 // __DSTRESS_DFLAGS__ -debug |
84 | 2 |
3 module dstress.run.debug_01; | |
4 | |
5 int main(){ | |
6 int x; | |
7 assert(x==0); | |
8 debug{ | |
9 x++; | |
10 } | |
11 assert(x==1); | |
12 return 0; | |
13 } |