blob: 7bbc61d25ac780665a8db9ce4503eb26ab296f83 [file] [log] [blame]
// run-pass
#![allow(unused_allocation)]
#![feature(box_syntax)]
pub fn main() {
let i: Box<_> = box 100;
assert_eq!(i, box 100);
assert!(i < box 101);
assert!(i <= box 100);
assert!(i > box 99);
assert!(i >= box 99);
}