blob: 2d62ce59ad01257903878ca6dc9e4a895d5b63ae [file] [log] [blame]
// run-pass
#![feature(box_syntax)]
fn f<T>(t: T) -> T {
let t1 = t;
t1
}
pub fn main() {
let t = f::<Box<_>>(box 100);
assert_eq!(t, box 100);
}