]> git.lizzy.rs Git - rust.git/blob - tests/compile-fail/panic/panic_abort4.rs
rustup; support panic=abort on Windows
[rust.git] / tests / compile-fail / panic / panic_abort4.rs
1 // error-pattern: the evaluated program aborted execution
2 // compile-flags: -C panic=abort
3
4 fn main() {
5     core::panic!("{}-panicking from libcore", 42);
6 }