Files
ldc/tests/mini/compile_nested2.d

14 lines
186 B
D

void test(void delegate() spam)
{
static void foo() // static is the problem
{
uint x;
void peek() { x = 0; }
}
void bar()
{
spam();
}
}