blob: 1768a8e6d3138f49f5cebb5b2449cba729065e2d [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_u64 << 64;
}