view test/nested3.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 c4b3f5d2cd9b
children
line wrap: on
line source

module nested3;

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