Mercurial > projects > dstress
view run/d/double_31_D.d @ 1162:8e99969d0101
Re: [Issue 365] New: Regression: Bad code generation for floating point == and !=
Don Clugston <dac@nospam.com.au>
2006-09-29
news:efjapd$42o$1@digitaldaemon.com
author | thomask |
---|---|
date | Mon, 02 Oct 2006 08:03:06 +0000 |
parents | 3362a3aaa580 |
children | daef239f37cf |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Lionello Lunesu <lio@lunesu.com> // @date@ 2006-08-18 // @uri@ news:bug-291-3@http.d.puremagic.com/issues/ // @desc@ [Issue 291] assertion module dstress.run.r.double_31_D; int main(){ const double r; static if(r == 0){ assert(0); } static if(r != 0){ return 0; } assert(0); }