view tangotests/nested1.d @ 282:74348f162225 trunk

[svn r303] Start a new basicblock behind a HaltExp to prevent compiler errors.
author ChristianK
date Sat, 21 Jun 2008 00:00:56 +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();
}