2018-08-30 07:18:55 -05:00
|
|
|
// run-pass
|
2015-03-22 15:13:15 -05:00
|
|
|
|
2013-09-25 02:43:37 -05:00
|
|
|
pub fn main() {
|
2015-03-25 19:06:52 -05:00
|
|
|
let i: usize = 0;
|
2015-03-03 02:42:26 -06:00
|
|
|
assert!(i <= 0xFFFF_FFFF);
|
2013-05-17 10:47:51 -05:00
|
|
|
|
2015-03-25 19:06:52 -05:00
|
|
|
let i: isize = 0;
|
2015-03-03 02:42:26 -06:00
|
|
|
assert!(i >= -0x8000_0000);
|
|
|
|
assert!(i <= 0x7FFF_FFFF);
|
2013-05-17 10:47:51 -05:00
|
|
|
}
|