view test/nested12.d @ 178:8873b7f1457e trunk

[svn r194] Fixed: string literal constant expressions with static array type was broken.
author lindquist
date Wed, 07 May 2008 05:02:48 +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();
}