Mercurial > projects > ldc
view test/bug23.d @ 73:b706170e24a9 trunk
[svn r77] Fixed foreach on slice.
Fixed some nested function problems when accessing outer function parameters.
Major changes to handling of structs.
Initial support for unions.
Probably more...
author | lindquist |
---|---|
date | Wed, 31 Oct 2007 03:11:32 +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); }