rust/tests/compile-fail/overflowing-rsh-1.rs
2019-09-29 11:30:28 -04:00

6 lines
129 B
Rust

#![allow(exceeding_bitshifts, const_err)]
fn main() {
let _n = 1i64 >> 64; //~ ERROR attempt to shift right with overflow
}