Mercurial > projects > ldc
view test/bug23.d @ 116:fd7ad91fd713 trunk
[svn r120] ModuleInfo implementation is now almost complete.
Fixed some nasty static array-initializer bugs.
Fixed bug in DtoArrayLen and DtoArrayPtr for full slices of static arrays.
author | lindquist |
---|---|
date | Sun, 25 Nov 2007 18:55:52 +0100 |
parents | 6fcc08a4d406 |
children | d9d5d59873d8 |
line wrap: on
line source
module bug23; void main() { int i; delegate { i++; delegate { i++; }(); }(); printf("%d\n", i); assert(i == 2); }