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

7 lines
138 B
Rust

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