Mercurial > projects > dstress
diff run/debug_02.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 | a33ad7189d21 |
line wrap: on
line diff
--- a/run/debug_02.d Fri Oct 29 21:04:52 2004 +0000 +++ b/run/debug_02.d Sun Oct 31 21:21:04 2004 +0000 @@ -3,7 +3,7 @@ // @uri@ news://ckro4i$1b4l$2@digitaldaemon.com // @url@ nttp://digitalmars.com/digitalmars.D.bugs:2119 -// §DSTRESS_FLAGS§ -debug=2 +// __DSTRESS_DFLAGS__ -debug=2 module dstress.run.debug_02; @@ -11,15 +11,15 @@ int i=0; assert(i==0); debug(1){ - assert(0); + i++; + assert(i==1); } debug(2){ i++; - assert(i==1); + assert(i==2); } debug(3){ - i++; - assert(i==2); + assert(0); } assert(i==2); return 0;