Mercurial > projects > dstress
changeset 1426:3204340ec93b
fixed floating point comparison
author | thomask |
---|---|
date | Mon, 12 Mar 2007 05:29:36 +0000 |
parents | 10fb8b4eeae3 |
children | 596115f20776 |
files | run/a/array_initialization_26_E.d |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/run/a/array_initialization_26_E.d Sun Mar 11 11:20:48 2007 +0000 +++ b/run/a/array_initialization_26_E.d Mon Mar 12 05:29:36 2007 +0000 @@ -2,6 +2,11 @@ // $Date$ // $Author$ +// @author@ Thomas Kühne <thomas-dloop@kuehne.cn> +// @date@ 2006-12-25 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=746 +// @desc@ [Issue 746] incorrect code generation for "new Type[][](1, 1)" + module dstress.run.a.array_initialization_26_E; int main(){ @@ -11,8 +16,8 @@ assert(0); } if(a[0][0] !<>= 0.0){ - assert(0); + return 0; } - return 0; + assert(0); }