view test/bug4.d @ 56:3a784f7790d6 trunk

[svn r60] fixed vararg1 test
author lindquist
date Wed, 24 Oct 2007 22:26:37 +0200
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);
}