Mercurial > projects > ldc
view test/structinit2.d @ 218:df641a27e9fd trunk
[svn r234] Fixed: missed a few bogus #ifs in last revision.
author | lindquist |
---|---|
date | Thu, 05 Jun 2008 06:43:34 +0200 |
parents | ee302fe07296 |
children |
line wrap: on
line source
module structinit2; struct Imp { int i; long l; float f; } void main() { Imp i; assert(i.i == 0); assert(i.l == 0L); assert(i.f !<>= 0.0f); }