blob: 6cda1c3dc15e1f3c98edbe2ec92505848a2aa079 [file] [log] [blame]
// run-pass
#![feature(box_syntax)]
fn f<T>(x: Box<T>) -> Box<T> { return x; }
pub fn main() { let x = f(box 3); println!("{}", *x); }