Mercurial > projects > ldc
view test/bug22.d @ 290:ebaf65fc4726 trunk
[svn r311] Fixed: structs no longer output two static typeinfos.
Updated the DtoTypeInfoOf helper a bit after figuring out how it worked.
author | lindquist |
---|---|
date | Sat, 21 Jun 2008 17:57:36 +0200 |
parents | d9d5d59873d8 |
children |
line wrap: on
line source
module bug22; extern(C) int printf(char*, ...); void main() { int i; delegate { i = 42; }(); printf("%d\n", i); assert(i == 42); }