view tests/mini/compile_nested2.d @ 883:b52d5de7783f

GC defines and linkage changes.
author Christian Kamm <kamm incasoftware de>
date Thu, 08 Jan 2009 18:20:02 +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();
    }
}