view test/nested12.d @ 135:176bd52b3cf5 trunk

[svn r139] Fixed bug #33, thanks for the report :)
author lindquist
date Mon, 14 Jan 2008 23:09:55 +0100
parents 5825d48b27d1
children 25fa34e899e9
line wrap: on
line source

module nested12;

void main()
{
    func();
}

void func()
{
    void a(int i)
    {
        printf("%d\n", i);
    }

    void b()
    {
        a(42);
    }

    b();
}