view tests/code/if_4.d @ 188:b3e0729c8524

Extra test
author Anders Halager <halager@gmail.com>
date Fri, 25 Jul 2008 12:55:38 +0200
parents 2d28b21faad6
children
line wrap: on
line source

int main()
{
    int x = 0;
    int y = 1;
    if (x)
        return 1;
    else if (y == 2)
        return 1;
    else
        y = 0;
    return y;
}