diff options
Diffstat (limited to 'src/tools/clippy/tests/ui/crashes/ice-9463.rs')
-rw-r--r-- | src/tools/clippy/tests/ui/crashes/ice-9463.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui/crashes/ice-9463.rs b/src/tools/clippy/tests/ui/crashes/ice-9463.rs new file mode 100644 index 000000000..9564e77c2 --- /dev/null +++ b/src/tools/clippy/tests/ui/crashes/ice-9463.rs @@ -0,0 +1,5 @@ +#![deny(arithmetic_overflow)] +fn main() { + let _x = -1_i32 >> -1; + let _y = 1u32 >> 10000000000000u32; +} |