rust/src/test/run-pass/borrowck-wg-simple.rs

10 lines
97 B
Rust

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