]> git.lizzy.rs Git - rust.git/blob - tests/compile-fail/panic2.rs
Auto merge of #693 - Aaron1011:feature/panic_unwind_final, r=oli-obk
[rust.git] / tests / compile-fail / panic2.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 }