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

8 lines
212 B
Rust

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