view test/bug15.d @ 326:d7e42b5d8ccd trunk

[svn r347] Foundation for adding tangobos to test environment is in place.
author ChristianK
date Thu, 10 Jul 2008 21:29:15 +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));
}