mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 19:03:13 +01:00
14 lines
186 B
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();
|
|
}
|
|
}
|