Mercurial > projects > dstress
annotate run/d/double_31_D.d @ 1320:daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
author | thomask |
---|---|
date | Sun, 31 Dec 2006 19:59:08 +0000 |
parents | 8e99969d0101 |
children |
rev | line source |
---|---|
1113 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Lionello Lunesu <lio@lunesu.com> | |
6 // @date@ 2006-08-18 | |
1320
daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents:
1162
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=291 |
1113 | 8 // @desc@ [Issue 291] assertion |
9 | |
10 module dstress.run.r.double_31_D; | |
11 | |
12 int main(){ | |
13 const double r; | |
14 | |
1162
8e99969d0101
Re: [Issue 365] New: Regression: Bad code generation for floating point == and !=
thomask
parents:
1113
diff
changeset
|
15 static if(r == 0){ |
1113 | 16 assert(0); |
17 } | |
1162
8e99969d0101
Re: [Issue 365] New: Regression: Bad code generation for floating point == and !=
thomask
parents:
1113
diff
changeset
|
18 |
8e99969d0101
Re: [Issue 365] New: Regression: Bad code generation for floating point == and !=
thomask
parents:
1113
diff
changeset
|
19 static if(r != 0){ |
8e99969d0101
Re: [Issue 365] New: Regression: Bad code generation for floating point == and !=
thomask
parents:
1113
diff
changeset
|
20 return 0; |
8e99969d0101
Re: [Issue 365] New: Regression: Bad code generation for floating point == and !=
thomask
parents:
1113
diff
changeset
|
21 } |
1113 | 22 |
1162
8e99969d0101
Re: [Issue 365] New: Regression: Bad code generation for floating point == and !=
thomask
parents:
1113
diff
changeset
|
23 assert(0); |
1113 | 24 } |