Skip to content

Commit 5ca4204

Browse files
Fix failing test (invoke void %g() is correct behavior)
1 parent e13e645 commit 5ca4204

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/codegen/unwind-landingpad-inline.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ pub fn check_no_escape_in_landingpad(f: fn()) {
2828
// See https://github.com/rust-lang/rust/issues/87055
2929
// CHECK-LABEL: @check_eliminate_noop_drop
3030
// CHECK: start:
31-
// CHECK-NEXT: call void %g()
32-
// CHECK-NEXT: ret void
31+
// CHECK-NEXT: invoke void %g()
3332
#[no_mangle]
3433
pub fn check_eliminate_noop_drop(g: fn()) {
3534
let _var = String::new();

0 commit comments

Comments
 (0)