view test/nested12.d @ 340:351c0077d0b3 trunk

[svn r361] Removed some dead code.
author lindquist
date Sun, 13 Jul 2008 02:04:25 +0200
parents 25fa34e899e9
children
line wrap: on
line source

module nested12;

extern(C) int printf(char*, ...);

void main()
{
    func();
}

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

    void b()
    {
        a(42);
    }

    b();
}