blob: 1dff5f0bc87a91afd064946697df50d0027c87fd [file] [log] [blame] [edit]
//@ run-pass
#![allow(unused_variables)]
pub fn main() {
let i: Box<_> = Box::new(100);
let j: Box<_> = Box::new(200);
let j = i;
assert_eq!(*j, 100);
}