rust/tests/ui/panic-runtime/bad-panic-flag1.rs
2024-02-16 20:02:50 +00:00

5 lines
103 B
Rust

//@ compile-flags:-C panic=foo
//@ error-pattern:either `unwind` or `abort` was expected
fn main() {}