Mercurial > projects > dstress
view run/creal_07.d @ 1622:d402aa53926c
Add test for bug 3092 written by Manuel K?nig
author | Leandro Lucarella <llucax@gmail.com> |
---|---|
date | Tue, 19 Oct 2010 19:18:23 -0300 |
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; }