Mercurial > projects > dstress
annotate run/b/bug_d_codegen_1228_J.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 | 2f10fa84a21b |
children |
rev | line source |
---|---|
777 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Thomas Kuehne <thomas-dloop@kuehne.cn> | |
6 // @uri@ news:23p273-9bq.ln1@birke.kuehne.cn | |
7 | |
8 module dstress.run.b.bug_d_codegen_1228_J; | |
9 | |
10 int find(){ | |
11 foreach(char c; "blah"w){ | |
12 return 0; | |
13 } | |
14 } | |
15 | |
16 int main(){ | |
17 if(find() == 0){ | |
18 return 0; | |
19 } | |
20 } |