view test/bug15.d @ 227:3092a38dddab trunk

[svn r243] fixed inline asm arg_pointer args hopefully.
author lindquist
date Sat, 07 Jun 2008 19:19:30 +0200
parents 8b0e809563df
children
line wrap: on
line source

module bug15;

bool bool1(bool b) {
    if (b) return true;
    else return false;
}

bool bool2(bool b) {
    if (b) {return true;}
    else {return false;}
}

void main()
{
    assert(bool1(true));
    assert(!bool2(false));
}