annotate run/init_05.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 9e0847cf535a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
433
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
1 // $HeadURL$
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
2 // $Date$
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
3 // $Author$
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
4
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
5 module dstress.run.init_05;
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
6
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
7 int main(){
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
8 float i=2f;
528
9e0847cf535a pre DMD-0.123 review
thomask
parents: 433
diff changeset
9 assert(float.init !<>= i.init);
433
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
10 assert(i==2f);
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
11 return 0;
b310cc8b0391 check that init doesn't change the value of the queried var
thomask
parents:
diff changeset
12 }