about summary refs log tree commit diff
path: root/tests/ui/coroutine/unwind-abort-mix.rs
blob: 175c2928a80103d8d44af8b43e5caf64647257b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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
//@ ignore-backends: gcc
extern crate unwind_aux;

pub fn main() {
    unwind_aux::run(String::new());
}