Skip to content

Commit 4773fbc

Browse files
Revert "Fix failing test (invoke void %g() is correct behavior)"
This reverts commit 94c8bf5889a310cb758e89be0b3b066162013915.
1 parent 5ca4204 commit 4773fbc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/codegen/unwind-landingpad-inline.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ 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: invoke void %g()
31+
// CHECK-NEXT: call void %g()
32+
// CHECK-NEXT: ret void
3233
#[no_mangle]
3334
pub fn check_eliminate_noop_drop(g: fn()) {
3435
let _var = String::new();

0 commit comments

Comments
 (0)