mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-21 10:33:27 +00:00
5 lines
111 B
Rust
5 lines
111 B
Rust
#![deny(arithmetic_overflow)]
|
|
fn main() {
|
|
let _x = -1_i32 >> -1;
|
|
let _y = 1u32 >> 10000000000000u32;
|
|
}
|