blob: 19d16e7bc84a2e3117977e7ec0b4bd03f894fa6a [file] [log] [blame]
#![allow(arithmetic_overflow)]
fn main() {
// Make sure we catch overflows that would be hidden by first casting the RHS to u32
let _n = 1i64 >> (u32::MAX as i64 + 1);
}