view test/nested3.d @ 289:17d3b3236334 trunk

[svn r310] Fixed a problem with incomplete types and templates in typeinfo code.
author lindquist
date Sat, 21 Jun 2008 16:22:29 +0200
parents c4b3f5d2cd9b
children
line wrap: on
line source

module nested3;

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