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