update terminator.rs

This commit is contained in:
sfzhu93 2024-01-28 22:44:32 -08:00
parent 65b10839d6
commit 699b59c01d

View File

@ -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);
}