10 lines
113 B
Rust
10 lines
113 B
Rust
|
|
|
|
|
|
// -*- rust -*-
|
|
fn foo(f: native fn(int) -> int) { }
|
|
|
|
fn id(x: int) -> int { ret x; }
|
|
|
|
fn main() { foo(id); }
|