summaryrefslogtreecommitdiffstats
path: root/src/test/mir-opt/dataflow-const-prop/inherit_overflow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/mir-opt/dataflow-const-prop/inherit_overflow.rs')
-rw-r--r--src/test/mir-opt/dataflow-const-prop/inherit_overflow.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/test/mir-opt/dataflow-const-prop/inherit_overflow.rs b/src/test/mir-opt/dataflow-const-prop/inherit_overflow.rs
deleted file mode 100644
index 2f2d9d010..000000000
--- a/src/test/mir-opt/dataflow-const-prop/inherit_overflow.rs
+++ /dev/null
@@ -1,8 +0,0 @@
-// compile-flags: -Zunsound-mir-opts
-
-// EMIT_MIR inherit_overflow.main.DataflowConstProp.diff
-fn main() {
- // After inlining, this will contain a `CheckedBinaryOp`. The overflow
- // must be ignored by the constant propagation to avoid triggering a panic.
- let _ = <u8 as std::ops::Add>::add(255, 1);
-}