annotate run/creal_09.d @ 1576:b3e16c86558e

[Issue 1398] New: GDC doesn't generate correct code <mariusmuja@gmail.com> 2007-08-04 http://d.puremagic.com/issues/show_bug.cgi?id=1398
author thomask
date Thu, 21 Feb 2008 15:20:08 +0000
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 }