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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
91feffeeafa6 used the new ?DSTRESS_FLAGS? support to
thomask
parents:
diff changeset
2
91feffeeafa6 used the new ?DSTRESS_FLAGS? support to
thomask
parents:
diff changeset
3 module dstress.run.debug_01;
91feffeeafa6 used the new ?DSTRESS_FLAGS? support to
thomask
parents:
diff changeset
4
91feffeeafa6 used the new ?DSTRESS_FLAGS? support to
thomask
parents:
diff changeset
5 int main(){
91feffeeafa6 used the new ?DSTRESS_FLAGS? support to
thomask
parents:
diff changeset
6 int x;
91feffeeafa6 used the new ?DSTRESS_FLAGS? support to
thomask
parents:
diff changeset
7 assert(x==0);
91feffeeafa6 used the new ?DSTRESS_FLAGS? support to
thomask
parents:
diff changeset
8 debug{
91feffeeafa6 used the new ?DSTRESS_FLAGS? support to
thomask
parents:
diff changeset
9 x++;
91feffeeafa6 used the new ?DSTRESS_FLAGS? support to
thomask
parents:
diff changeset
10 }
91feffeeafa6 used the new ?DSTRESS_FLAGS? support to
thomask
parents:
diff changeset
11 assert(x==1);
91feffeeafa6 used the new ?DSTRESS_FLAGS? support to
thomask
parents:
diff changeset
12 return 0;
91feffeeafa6 used the new ?DSTRESS_FLAGS? support to
thomask
parents:
diff changeset
13 }