view test/bug4.d @ 44:ea65e12b0dd0 trunk

[svn r48] fixed some storage problems
author lindquist
date Fri, 19 Oct 2007 16:05:06 +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);
}