Mercurial > projects > ldc
view tests/mini/compile_nested2.d @ 1321:d55945bcb02d
Automated merge with http://hg.dsource.org/projects/ldc
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 09 May 2009 08:58:55 +0200 |
parents | 94ba810ea2b0 |
children |
line wrap: on
line source
void test(void delegate() spam) { static void foo() // static is the problem { uint x; void peek() { x = 0; } } void bar() { spam(); } }