diff options
Diffstat (limited to 'src/test/ui/numbers-arithmetic/overflowing-lsh-1.rs')
-rw-r--r-- | src/test/ui/numbers-arithmetic/overflowing-lsh-1.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/numbers-arithmetic/overflowing-lsh-1.rs b/src/test/ui/numbers-arithmetic/overflowing-lsh-1.rs deleted file mode 100644 index 7f8b0c877..000000000 --- a/src/test/ui/numbers-arithmetic/overflowing-lsh-1.rs +++ /dev/null @@ -1,9 +0,0 @@ -// build-fail -// compile-flags: -C debug-assertions - -#![deny(arithmetic_overflow)] - -fn main() { - let _x = 1_i32 << 32; - //~^ ERROR: this arithmetic operation will overflow -} |