mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-03 00:38:58 +03:00
8 lines
197 B
Rust
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);
|
|
}
|