rust/tests/compile-fail/panic/panic_abort3.rs
2020-09-20 15:55:36 +02:00

7 lines
150 B
Rust

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