view test/bug4.d @ 111:a7ae554ce4f4 trunk

[svn r115] Implemented the ClassInfo.defaultConstructor member.
author lindquist
date Thu, 22 Nov 2007 21:17:54 +0100
parents 253a5fc4033a
children
line wrap: on
line source

module bug4;

int func(int i)
{
    i += 2;
    i -= 3;
    return i;
}

void main()
{
    assert(func(4) == 3);
}