Mercurial > projects > ldc
view tests/mini/compile_nested2.d @ 846:bc982f1ad106
Merged DMD 1.037 frontend
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sat, 13 Dec 2008 13:15:31 +0100 |
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(); } }