rust/tests/compile-fail/panic2.rs
Aaron Hill b06d99b8a0
Ignore '-C panic=abort' tests for now
We are currently building `libpanic_abort` with the wrong panic
strategy, due to Xargo missing a hack used by `bootstrap`.
2019-11-17 08:40:34 -05:00

8 lines
197 B
Rust

// ignore-test: Abort panics are not yet supported
// error-pattern: the evaluated program panicked
// compile-flags: -C panic=abort
fn main() {
std::panic!("{}-panicking from libstd", 42);
}