Mercurial > projects > ldc
view test/structinit2.d @ 248:890b4862ec6c trunk
[svn r265] generate debug info for global variables only if they don't have external linkage
author | ChristianK |
---|---|
date | Tue, 10 Jun 2008 20:01:04 +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); }