annotate run/creal_09.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 ec6d35cccfb5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
374
f87ba6507260 added missing meta-data
thomask
parents: 95
diff changeset
1 // $HeadURL$
f87ba6507260 added missing meta-data
thomask
parents: 95
diff changeset
2 // $Date$
f87ba6507260 added missing meta-data
thomask
parents: 95
diff changeset
3 // $Author$
f87ba6507260 added missing meta-data
thomask
parents: 95
diff changeset
4
95
f4dcf89f7796 extended creal tests
thomask
parents:
diff changeset
5 module dstress.run.creal_09;
f4dcf89f7796 extended creal tests
thomask
parents:
diff changeset
6
f4dcf89f7796 extended creal tests
thomask
parents:
diff changeset
7 int main(){
435
ec6d35cccfb5 pre dmd-0.121 review
thomask
parents: 399
diff changeset
8 creal a=1.3L+9.7Li;
399
8f24d8aa2308 ifloat -> cfloat
thomask
parents: 398
diff changeset
9 assert(a.re == 1.3L);
8f24d8aa2308 ifloat -> cfloat
thomask
parents: 398
diff changeset
10 assert(a.im == 9.7L);
95
f4dcf89f7796 extended creal tests
thomask
parents:
diff changeset
11 return 0;
f4dcf89f7796 extended creal tests
thomask
parents:
diff changeset
12 }