]> git.lizzy.rs Git - rust.git/blob - tests/compile-fail/panic4.rs
816cc90cfabd8583df55086b0c06e96631ff4435
[rust.git] / tests / compile-fail / panic4.rs
1 // ignore-test: Abort panics are not yet supported
2 //error-pattern: the evaluated program panicked
3 // compile-flags: -C panic=abort
4
5 fn main() {
6     core::panic!("{}-panicking from libcore", 42);
7 }