rust/tests/ui/panic-runtime/want-abort-got-unwind.rs
2024-02-16 20:02:50 +00:00

10 lines
242 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
//@ compile-flags:-C panic=abort
extern crate panic_runtime_unwind;
fn main() {}