summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/const_prop/while_let_loops.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mir-opt/const_prop/while_let_loops.rs')
-rw-r--r--tests/mir-opt/const_prop/while_let_loops.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mir-opt/const_prop/while_let_loops.rs b/tests/mir-opt/const_prop/while_let_loops.rs
index 39081c355..8b2a73438 100644
--- a/tests/mir-opt/const_prop/while_let_loops.rs
+++ b/tests/mir-opt/const_prop/while_let_loops.rs
@@ -1,8 +1,9 @@
-// skip-filecheck
// unit-test: ConstProp
// EMIT_MIR while_let_loops.change_loop_body.ConstProp.diff
pub fn change_loop_body() {
+ // CHECK-LABEL: fn change_loop_body(
+ // CHECK: switchInt(const 0_isize)
let mut _x = 0;
while let Some(0u32) = None {
_x = 1;