Mercurial > projects > dstress
view compile/o/odd_bug_16_A.d @ 1586:a74f0139fc3d
Fix tests using typeof on types.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 21 Aug 2008 15:42:21 +0200 |
parents | b0e88ac8bc7e |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Carlos Santander B. <csantander619@gmail.com> // @date@ 2007-04-14 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1145 // @desc@ [Issue 1145] bad codegen with ulong+float module dstress.compile.o.odd_bug_16_A; ulong foo (){ return cast(ulong) (1176576512UL + -2.0f); } static assert(foo()==1176576510);