view tangotests/nested1.d @ 310:d20cf0dec9c1 trunk

[svn r331] Fixed, forgot to default initialize the SynchronizedStatement enclosinghandler.
author lindquist
date Sat, 28 Jun 2008 11:50:28 +0200
parents 2e652b8ad1fd
children
line wrap: on
line source

module tangotests.nested1;

void main()
{
    int i = 42;
    assert(i == 42);
    void func()
    {
        assert(i == 42);
    }
    func();
}