view tangotests/nested1.d @ 273:25fa34e899e9 trunk

[svn r294] Fixed some more of the old tests.
author lindquist
date Wed, 18 Jun 2008 23:29:14 +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();
}