Mercurial > projects > dstress
annotate run/c/creal_36_B.d @ 1272:ecd6e898948d
fixed missing open paren (issue #624, http://d.puremagic.com/issues/show_bug.cgi?id=624)
author | thomask |
---|---|
date | Sat, 23 Dec 2006 14:25:02 +0000 |
parents | 23b89cbbe105 |
children | e6887749b811 |
rev | line source |
---|---|
1237 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Thomas Kühne <thomas-doop@kuehne.cn> | |
6 // @date@ 2006-11-19 | |
7 // @uri@ news:bug-575-31@http.d.puremagic.com/issues/ | |
8 // @desc@ [Issue 575] New: wrong evaluation of (creal * 2 + 1i) | |
9 | |
10 module dstress.run.c.creal_36_B; | |
11 | |
12 int main(){ | |
1272
ecd6e898948d
fixed missing open paren (issue #624, http://d.puremagic.com/issues/show_bug.cgi?id=624)
thomask
parents:
1237
diff
changeset
|
13 if((1.0L + 2.0Li) * 2.0L + 1.0Li != 2.0L + 5.0Li){ |
1237 | 14 assert(0); |
15 } | |
16 return 0; | |
17 } | |
18 |