rust/tests/compile-fail/panic/panic_abort3.rs
2020-12-10 19:53:45 +01:00

7 lines
140 B
Rust

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