Mercurial > projects > dstress
view run/c/cfloat_07_B.d @ 920:5511f9277078
testcase review
author | thomask |
---|---|
date | Sun, 19 Mar 2006 11:29:18 +0000 |
parents | db221d4acc19 |
children | a8cf8aa0da50 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Don Clugston <dac@nospam.com.au> // @date@ 2006-03-02 // @uri@ news:<du6chp$hub$1@digitaldaemon.com module dstress.run.c.cfloat_07_B; union S{ float f; uint i; } int main(){ cfloat a = 0.0f + 0.0fi; S s; s.f = a.re; if(s.i != 0x00000000){ assert(0); } s.f = a.im; if(s.i != 0x00000000){ assert(0); } return 0; }