rust/src/test/run-pass/issue-2633-2.rs

9 lines
102 B
Rust

fn a_val(&&x: ~int, +y: ~int) -> int {
*x + *y
}
fn main() {
let z = ~22;
a_val(z, z);
}