mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 10:53:14 +01:00
18 lines
229 B
D
18 lines
229 B
D
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));
|
|
}
|