Mercurial > projects > ldc
view test/bug23.d @ 318:8e570dbe4087 trunk
[svn r339] Add cleanup handling when within an action chain and some more documentation to the eh personality function.
author | ChristianK |
---|---|
date | Fri, 04 Jul 2008 09:00:49 +0200 |
parents | d9d5d59873d8 |
children |
line wrap: on
line source
module bug23; extern(C) int printf(char*, ...); void main() { int i; delegate { i++; delegate { i++; }(); }(); printf("%d\n", i); assert(i == 2); }