Skip to content

Commit

Permalink
update terminator.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
sfzhu93 committed Jan 29, 2024
1 parent 65b1083 commit 699b59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/mir-opt/dataflow-const-prop/terminator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 699b59c

Please sign in to comment.