blob: 37fbf01e487dc6610a6649b0e3245de218bc1e42 [file] [log] [blame]
// error-pattern:thread 'main' panicked at 'attempt to shift left with overflow'
// compile-flags: -C debug-assertions
#![warn(exceeding_bitshifts)]
#![warn(const_err)]
fn main() {
let _x = 1_i32 << 32;
}