Skip to content

Commit 976267b

Browse files
committed
Add needs-unwind to codegen test
When compiled with -C panic=abort we'd generate an extra panic_cannot_unwind shim in the variant calling C-unwind.
1 parent 137775d commit 976267b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/codegen/maybeuninit-rvo.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//@ compile-flags: -O
2+
//@ needs-unwind
23
//@ min-llvm-version: 18
34
#![feature(c_unwind)]
45
#![crate_type = "lib"]

0 commit comments

Comments
 (0)