9 lines
118 B
Rust
9 lines
118 B
Rust
|
|
|
|
|
|
// -*- rust -*-
|
|
obj x() {
|
|
fn hello() { log "hello, object world"; }
|
|
}
|
|
|
|
fn main() { auto mx = x(); mx.hello(); } |