Mercurial > projects > dstress
annotate run/command_line_version_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__ -version=abc |
84 | 6 |
7 module dstress.run.command_line_version_01; | |
8 | |
9 int main(){ | |
10 version(abc){ | |
11 return 0; | |
12 }else{ | |
13 static assert(0); | |
14 } | |
15 } |