rust/src/test/run-pass/unique-fn-arg.rs
2011-09-22 14:55:08 -07:00

9 lines
95 B
Rust

fn f(i: ~int) {
assert *i == 100;
}
fn main() {
f(~100);
let i = ~100;
f(i);
}