Mercurial > projects > ldc
view test/structinit2.d @ 66:0c5f410d973c trunk
[svn r70] Fixed bug where correct calling convention was not set on calling aggregate methods
author | lindquist |
---|---|
date | Sun, 28 Oct 2007 02:03:42 +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); }