rust/tests/compile-fail/panic_abort2.rs
2019-11-19 22:44:07 +01:00

8 lines
197 B
Rust

// ignore-test: Abort panics are not yet supported
// error-pattern: the evaluated program panicked
// compile-flags: -C panic=abort
fn main() {
std::panic!("{}-panicking from libstd", 42);
}