Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (10 sloc) 215 Bytes
// run-pass
// pretty-expanded FIXME #23616
#![feature(box_syntax)]
fn a_val(x: Box<isize>, y: Box<isize>) -> isize {
*x + *y
}
pub fn main() {
let z: Box<_> = box 22;
a_val(z.clone(), z.clone());
}
You can’t perform that action at this time.