75 lines
590 B
Plaintext
75 lines
590 B
Plaintext
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
|
module Foo {
|
|
|
|
import hilti;
|
|
|
|
const bool t = True;
|
|
const bool f = False;
|
|
|
|
hilti::print(t, True);
|
|
hilti::print(f, True);
|
|
|
|
if ( t ) {
|
|
0;
|
|
}
|
|
else {
|
|
1;
|
|
}
|
|
|
|
|
|
if ( f ) {
|
|
2;
|
|
}
|
|
else {
|
|
3;
|
|
}
|
|
|
|
|
|
if ( t ) {
|
|
4;
|
|
}
|
|
|
|
|
|
if ( f ) {
|
|
5;
|
|
}
|
|
|
|
True;
|
|
True;
|
|
True;
|
|
False;
|
|
True;
|
|
False;
|
|
False;
|
|
False;
|
|
False;
|
|
True;
|
|
t ? 1 : 0;
|
|
f ? 0 : 1;
|
|
|
|
while ( False ) {
|
|
}
|
|
|
|
|
|
while ( False ) {
|
|
False;
|
|
}
|
|
else {
|
|
True;
|
|
}
|
|
|
|
|
|
while ( True ) {
|
|
}
|
|
|
|
|
|
while ( True ) {
|
|
True;
|
|
}
|
|
else {
|
|
False;
|
|
}
|
|
|
|
|
|
}
|