Mercurial > projects > dstress
view run/creal_07.d @ 1601:90bc51a580b7
pragma(lib, ...) is only allowed in declarations as of 1.037.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 04 Jan 2009 22:42:52 +0100 |
parents | 5511f9277078 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ module dstress.run.creal_07; int main(){ real re= 1.0L / 3.0L; real im= 1.0L / 5.0L; ireal i= 1.0Li; creal c= re+i*im; assert(c.im == im); assert(c.im.sizeof == im.sizeof); return 0; }