2022-07-24 13:28:45 -05:00
|
|
|
#![feature(unchecked_math)]
|
2017-07-03 22:27:09 -05:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
unsafe {
|
2022-07-24 13:28:45 -05:00
|
|
|
let _n = 1i64.unchecked_shr(64);
|
2022-06-21 11:30:45 -05:00
|
|
|
//~^ ERROR: overflowing shift by 64 in `unchecked_shr`
|
2017-07-03 22:27:09 -05:00
|
|
|
}
|
|
|
|
}
|