Mercurial > projects > dstress
annotate run/debug_01.d @ 374:f87ba6507260
added missing meta-data
author | thomask |
---|---|
date | Thu, 31 Mar 2005 09:01:33 +0000 |
parents | 659bb018c489 |
children |
rev | line source |
---|---|
374 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
85
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
84
diff
changeset
|
5 // __DSTRESS_DFLAGS__ -debug |
84 | 6 |
7 module dstress.run.debug_01; | |
8 | |
9 int main(){ | |
10 int x; | |
11 assert(x==0); | |
12 debug{ | |
13 x++; | |
14 } | |
15 assert(x==1); | |
16 return 0; | |
17 } |