rust/tests/ui/crashes/ice-9463.rs

6 lines
111 B
Rust
Raw Normal View History

2022-09-21 06:05:20 -05:00
#![deny(arithmetic_overflow)]
fn main() {
let _x = -1_i32 >> -1;
let _y = 1u32 >> 10000000000000u32;
}