147a2d655f
This reverts commit d08b443fff
.
12 lines
137 B
Rust
12 lines
137 B
Rust
// -*- rust -*-
|
|
|
|
fn f(int n) -> int {
|
|
ret n;
|
|
}
|
|
|
|
fn main() {
|
|
let fn() -> int g = bind f(10);
|
|
let int i = g();
|
|
assert (i == 10);
|
|
}
|