Mercurial > projects > dstress
annotate run/unittest_01.d @ 1630:d0efa3ae5522 default tip
run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author | David Nadlinger <code@klickverbot.at> |
---|---|
date | Sat, 23 Apr 2011 22:57:32 +0200 |
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 |