summaryrefslogtreecommitdiffstats
path: root/src/test/ui/numbers-arithmetic/overflowing-add.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/numbers-arithmetic/overflowing-add.rs')
-rw-r--r--src/test/ui/numbers-arithmetic/overflowing-add.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/numbers-arithmetic/overflowing-add.rs b/src/test/ui/numbers-arithmetic/overflowing-add.rs
deleted file mode 100644
index b0f22a74b..000000000
--- a/src/test/ui/numbers-arithmetic/overflowing-add.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-// run-fail
-// error-pattern:thread 'main' panicked at 'attempt to add with overflow'
-// compile-flags: -C debug-assertions
-// ignore-emscripten no processes
-
-#![allow(arithmetic_overflow)]
-
-fn main() {
- let _x = 200u8 + 200u8 + 200u8;
-}