view tangotests/nested1.d @ 297:5de180867c46 trunk

[svn r318] Moved the call to DtoBoolean before the not instruction. Fixes array_initialization_17_A.
author ChristianK
date Mon, 23 Jun 2008 19:19:37 +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();
}