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