blob: 58dfc5710ae4e3d7a619f6c1ffe2598a2f79ec5f [file] [log] [blame]
// error-pattern:thread 'main' panicked at 'attempt to shift right with overflow'
// compile-flags: -C debug-assertions
#![warn(exceeding_bitshifts)]
#![warn(const_err)]
fn main() {
let _n = 1i64 >> [64][0];
}