rust/tests/ui/panic-runtime/want-abort-got-unwind2.rs

11 lines
292 B
Rust

//@ build-fail
//@ dont-check-compiler-stderr
//@ error-pattern:is not compiled with this crate's panic strategy `abort`
//@ aux-build:panic-runtime-unwind.rs
//@ aux-build:wants-panic-runtime-unwind.rs
//@ compile-flags:-C panic=abort
extern crate wants_panic_runtime_unwind;
fn main() {}