2023-11-28 00:00:00 +00:00
|
|
|
// Ensure that coroutine drop glue is valid when mixing different panic
|
|
|
|
|
// strategies. Regression test for #116953.
|
|
|
|
|
//
|
|
|
|
|
//@ no-prefer-dynamic
|
|
|
|
|
//@ build-pass
|
|
|
|
|
//@ aux-build:unwind-aux.rs
|
|
|
|
|
//@ compile-flags: -Cpanic=abort
|
|
|
|
|
//@ needs-unwind
|
2025-07-23 13:31:22 +02:00
|
|
|
//@ ignore-backends: gcc
|
2023-11-28 00:00:00 +00:00
|
|
|
extern crate unwind_aux;
|
|
|
|
|
|
|
|
|
|
pub fn main() {
|
|
|
|
|
unwind_aux::run(String::new());
|
|
|
|
|
}
|