17 lines
165 B
Rust
17 lines
165 B
Rust
// -*- rust -*-
|
|
|
|
obj clam() {
|
|
fn chowder() {
|
|
log "in clam chowder";
|
|
}
|
|
}
|
|
|
|
fn foo(@clam c) {
|
|
c.chowder();
|
|
}
|
|
|
|
fn main() {
|
|
let clam c = clam();
|
|
foo(@c);
|
|
}
|