Mercurial > projects > dstress
view run/b/bug_cod1_2433_F.d @ 1086:7e8e5013a030
gdc-0.19 review
author | thomask |
---|---|
date | Tue, 18 Jul 2006 22:51:49 +0000 |
parents | 724f0f0afc01 |
children | b8c0195059d9 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Burton Radons <burton-radons@smocky.com> // @date@ 2005-05-12 // @uri@ news:d5mhd7$2t84$1@digitaldaemon.com module dstress.run.b.bug_cod1_2433_F; idouble test(){ return 1.0i; } int main(){ cdouble c = 0.0+0.0i; c = c + test; if(c.re != 0.0){ assert(0); } if(c.im != 1.0){ assert(0); } return 0; }