view test/bug15.d @ 279:a137ed004205 trunk

[svn r300] Removed some win32 stuff that was causing problems on mingw32.
author lindquist
date Fri, 20 Jun 2008 22:25:07 +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));
}