diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-12-02 21:10:04 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-12-02 21:10:04 +0000 |
| commit | 30a95b7c0a97f0aa45c3b090548ba7977ba4791a (patch) | |
| tree | 050feef63044a226cac68a157e2d478f47c42514 | |
| parent | c00068e49fd215f686d66a8d353c4336dc5bbf76 (diff) | |
| download | rust-30a95b7c0a97f0aa45c3b090548ba7977ba4791a.tar.gz rust-30a95b7c0a97f0aa45c3b090548ba7977ba4791a.zip | |
FileCheck while_let_loops.
| -rw-r--r-- | tests/mir-opt/const_prop/while_let_loops.rs | 3 |
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 39081c3550a..8b2a73438d6 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; |
