Mercurial > projects > dstress
annotate run/unittest_01.d @ 1619:bebc7472a832
Fix #7.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 07 Nov 2009 18:55:30 +0100 |
parents | 1e6afb94ce6d |
children |
rev | line source |
---|---|
374 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
736 | 5 // __DSTRESS_TORTURE_BLOCK__ -release |
85
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
84
diff
changeset
|
6 // __DSTRESS_DFLAGS__ -unittest |
84 | 7 |
8 module dstress.run.unittest_01; | |
9 | |
10 int status; | |
11 | |
89 | 12 class MyClass{ |
13 unittest{ | |
14 status++; | |
15 } | |
16 } | |
17 | |
84 | 18 int main(){ |
19 assert(status==1); | |
20 return 0; | |
21 } | |
22 |