mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-01 00:49:30 +00:00
1e23c65d5e
Fixes #9463
5 lines
122 B
Rust
5 lines
122 B
Rust
#![deny(arithmetic_overflow, const_err)]
|
|
fn main() {
|
|
let _x = -1_i32 >> -1;
|
|
let _y = 1u32 >> 10000000000000u32;
|
|
}
|