rust/tests/compile-fail/panic/panic_abort1.rs
2020-09-18 13:10:18 +02:00

8 lines
210 B
Rust

// error-pattern: the evaluated program aborted execution
// compile-flags: -C panic=abort
// ignore-windows: windows panics via inline assembly (FIXME)
fn main() {
std::panic!("panicking from libstd");
}