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

12 lines
285 B
Rust

//@ build-fail
//@ needs-unwind
//@ error-pattern:is not compiled with this crate's panic strategy `unwind`
//@ aux-build:panic-runtime-abort.rs
//@ aux-build:panic-runtime-lang-items.rs
#![no_std]
#![no_main]
extern crate panic_runtime_abort;
extern crate panic_runtime_lang_items;