]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | // run-pass |
0bf4aa26 | 2 | #![allow(unused_allocation)] |
1a4d82fc | 3 | |
223e47cc | 4 | pub fn main() { |
c295e0f8 XL |
5 | let i: Box<_> = Box::new(100); |
6 | assert_eq!(i, Box::new(100)); | |
7 | assert!(i < Box::new(101)); | |
8 | assert!(i <= Box::new(100)); | |
9 | assert!(i > Box::new(99)); | |
10 | assert!(i >= Box::new(99)); | |
223e47cc | 11 | } |