import core::*; use std; import box; #[test] fn test() { let x = @3; let y = @3; assert (box::ptr_eq::(x, x)); assert (box::ptr_eq::(y, y)); assert (!box::ptr_eq::(x, y)); assert (!box::ptr_eq::(y, x)); }