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

14 lines
139 B
Plaintext

type t1 {
int x();
}
class c() : t1 impl t1 {
int x() { return 7; }
export t1 : x;
}
int main() {
t1 x = new c:t1();
-x.x();
}