annotate run/b/bug_d_codegen_1228_E.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
777
2f10fa84a21b bulk offline commit
thomask
parents:
diff changeset
1 // $HeadURL$
2f10fa84a21b bulk offline commit
thomask
parents:
diff changeset
2 // $Date$
2f10fa84a21b bulk offline commit
thomask
parents:
diff changeset
3 // $Author$
2f10fa84a21b bulk offline commit
thomask
parents:
diff changeset
4
2f10fa84a21b bulk offline commit
thomask
parents:
diff changeset
5 // @author@ Thomas Kuehne <thomas-dloop@kuehne.cn>
2f10fa84a21b bulk offline commit
thomask
parents:
diff changeset
6 // @uri@ news:23p273-9bq.ln1@birke.kuehne.cn
2f10fa84a21b bulk offline commit
thomask
parents:
diff changeset
7
2f10fa84a21b bulk offline commit
thomask
parents:
diff changeset
8 module dstress.run.b.bug_d_codegen_1228_E;
2f10fa84a21b bulk offline commit
thomask
parents:
diff changeset
9
2f10fa84a21b bulk offline commit
thomask
parents:
diff changeset
10 int find(){
2f10fa84a21b bulk offline commit
thomask
parents:
diff changeset
11 foreach(dchar d; "blah"c){
2f10fa84a21b bulk offline commit
thomask
parents:
diff changeset
12 return 0;
2f10fa84a21b bulk offline commit
thomask
parents:
diff changeset
13 }
2f10fa84a21b bulk offline commit
thomask
parents:
diff changeset
14 }
2f10fa84a21b bulk offline commit
thomask
parents:
diff changeset
15
2f10fa84a21b bulk offline commit
thomask
parents:
diff changeset
16 int main(){
2f10fa84a21b bulk offline commit
thomask
parents:
diff changeset
17 if(find() == 0){
2f10fa84a21b bulk offline commit
thomask
parents:
diff changeset
18 return 0;
2f10fa84a21b bulk offline commit
thomask
parents:
diff changeset
19 }
2f10fa84a21b bulk offline commit
thomask
parents:
diff changeset
20 }