blob: 3521c0506591c37f7304d1e6f3cbd1c5c6dcbdcb [file] [log] [blame]
// error-pattern:thread 'main' panicked at 'attempt to shift right with overflow'
// compile-flags: -C debug-assertions
#![warn(exceeding_bitshifts)]
#![warn(const_err)]
fn main() {
let _x = -1_i64 >> 64;
}