diff options
| author | sfzhu93 <zhushuofei@gmail.com> | 2024-01-28 22:44:32 -0800 |
|---|---|---|
| committer | sfzhu93 <zhushuofei@gmail.com> | 2024-01-28 22:44:32 -0800 |
| commit | 699b59c01d1b3e67b5a29646705d9824e03ff1ad (patch) | |
| tree | 21946b6f0e934967177d384919e1813ec285fa02 | |
| parent | 65b10839d6cc033d65831666565ffda5077793f8 (diff) | |
| download | rust-699b59c01d1b3e67b5a29646705d9824e03ff1ad.tar.gz rust-699b59c01d1b3e67b5a29646705d9824e03ff1ad.zip | |
update terminator.rs
| -rw-r--r-- | tests/mir-opt/dataflow-const-prop/terminator.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mir-opt/dataflow-const-prop/terminator.rs b/tests/mir-opt/dataflow-const-prop/terminator.rs index 37bf3b33470..4472861f132 100644 --- a/tests/mir-opt/dataflow-const-prop/terminator.rs +++ b/tests/mir-opt/dataflow-const-prop/terminator.rs @@ -9,6 +9,6 @@ fn foo(n: i32) {} fn main() { let a = 1; // Checks that we propagate into terminators. - // CHECK: {{_.*}} = foo(const 2_i32) -> [return: {{bb.*}}, unwind continue]; + // CHECK: {{_.*}} = foo(const 2_i32) -> [return: {{bb.*}}, unwind foo(a + 1); } |
