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

16 lines
172 B
Plaintext

type t {
int md(int);
}
class c() : t impl t {
int my_md(int x) {
return this.md(x);
}
export t : my_md as md;
}
int main() {
t x = new c:t();
x.md(3);
}