blob: 83dcbd13d2ad8200a93891dab5d517e006bc9485 [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_i32 >> -1;
}