1 2 3 4 5 6 7 8 9 10 11
// run-pass fn f(i: Box<isize>) { assert_eq!(*i, 100); } pub fn main() { f(Box::new(100)); let i = Box::new(100); f(i); }