racket/collects/honu/examples/old/rel-not-prim.honu
Stevie Strickland 7dbb99d3c6 merged 292:296 from branches/sstrickl
svn: r297
2005-07-02 04:03:02 +00:00

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?");
};
}