9 lines
166 B
Rust
9 lines
166 B
Rust
#![feature(unchecked_math)]
|
|
|
|
fn main() {
|
|
unsafe {
|
|
let _n = 1i64.unchecked_shr(64);
|
|
//~^ ERROR: overflowing shift by 64 in `unchecked_shr`
|
|
}
|
|
}
|