view test/bug4.d @ 141:8f43f5c43c95 trunk

[svn r145] fixed some x86 problems
author lindquist
date Wed, 23 Jan 2008 12:58:51 +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);
}