summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/separate_const_switch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mir-opt/separate_const_switch.rs')
-rw-r--r--tests/mir-opt/separate_const_switch.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/mir-opt/separate_const_switch.rs b/tests/mir-opt/separate_const_switch.rs
index c809e5629..d333d4b6b 100644
--- a/tests/mir-opt/separate_const_switch.rs
+++ b/tests/mir-opt/separate_const_switch.rs
@@ -1,6 +1,8 @@
#![feature(control_flow_enum)]
#![feature(try_trait_v2)]
+// compile-flags: -Zunsound-mir-opts
+
use std::ops::ControlFlow;
// EMIT_MIR separate_const_switch.too_complex.SeparateConstSwitch.diff