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