Mercurial > projects > dstress
view run/creal_08.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_08; int main(){ float re= 1.0f / 3.0f; float im= 1.0f / 5.0f; ireal i= 1.0Li; creal c= re+i*im; assert(c.im == im); assert(c.im.sizeof == (real).sizeof); return 0; }