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

7 lines
148 B
Rust

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