view test/nested12.d @ 231:61aa721a6b7f trunk

[svn r247] fixed accessing global symbols from inline asm.
author lindquist
date Sun, 08 Jun 2008 01:07:58 +0200
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();
}