view test/nested3.d @ 293:ebfa488f4abc trunk

[svn r314] Get correct value type for newing of multidimensional dynamic arrays. Fixes array_initialization_26_E.
author ChristianK
date Sun, 22 Jun 2008 15:21:34 +0200
parents c4b3f5d2cd9b
children
line wrap: on
line source

module nested3;

void main()
{
    int i;
    void test()
    {
        i = 3;
    }
    test();
    assert(i == 3);
}