diff options
Diffstat (limited to 'tests/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.panic-unwind.diff')
-rw-r--r-- | tests/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.panic-unwind.diff | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.panic-unwind.diff b/tests/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.panic-unwind.diff index 7496d2543..e0a610f60 100644 --- a/tests/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.panic-unwind.diff +++ b/tests/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.panic-unwind.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]; } |