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