summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.panic-abort.diff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.panic-abort.diff')
-rw-r--r--tests/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.panic-abort.diff3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.panic-abort.diff b/tests/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.panic-abort.diff
index e77c09848..ba2e89f0a 100644
--- a/tests/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.panic-abort.diff
+++ b/tests/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.panic-abort.diff
@@ -8,8 +8,9 @@
bb0: {
StorageLive(_1);
- _1 = const _;
+- _1 = const _;
- switchInt(move _1) -> [0: bb2, otherwise: bb1];
++ _1 = const false;
+ switchInt(const false) -> [0: bb2, otherwise: bb1];
}