18 lines
226 B
Plaintext
18 lines
226 B
Plaintext
type t1 {
|
|
bool x();
|
|
}
|
|
|
|
class c() : t1 impl t1 {
|
|
bool x() { return true; }
|
|
export t1 : x;
|
|
}
|
|
|
|
bool main() {
|
|
t1 x = new c:t1();
|
|
if (1 < 3) && (2.0 >= 1.5) {
|
|
!x.x();
|
|
} else {
|
|
error("How'd I get here?");
|
|
};
|
|
}
|