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