rust/src/test/run-pass/borrowck-wg-simple.rs
2013-05-03 20:01:42 -04:00

9 lines
96 B
Rust

fn f(x: &int) {
io::println(x.to_str());
}
pub fn main() {
let x = @mut 3;
f(x);
}