rust/tests/compile-fail/panic/panic_abort1.rs
2019-12-02 16:04:31 +01:00

7 lines
189 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");
}