rust-clippy/tests/ui/crashes/ice-9463.rs
2022-09-11 12:26:13 +02:00

5 lines
122 B
Rust

#![deny(arithmetic_overflow, const_err)]
fn main() {
let _x = -1_i32 >> -1;
let _y = 1u32 >> 10000000000000u32;
}