Mercurial > projects > dstress
annotate run/debug_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 | f87ba6507260 |
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 } |