]> git.lizzy.rs Git - rust.git/blob - tests/compile-fail/panic_abort2.rs
rename panic=abort tests to panic_abort
[rust.git] / tests / compile-fail / panic_abort2.rs
1 // ignore-test: Abort panics are not yet supported
2 // error-pattern: the evaluated program panicked
3 // compile-flags: -C panic=abort
4
5 fn main() {
6     std::panic!("{}-panicking from libstd", 42);
7 }