9 lines
273 B
Rust
9 lines
273 B
Rust
// error-pattern: the program aborted execution
|
|
// normalize-stderr-test: "\| +\^+" -> "| ^"
|
|
// normalize-stderr-test: "libc::abort\(\);|core::intrinsics::abort\(\);" -> "ABORT();"
|
|
// compile-flags: -C panic=abort
|
|
|
|
fn main() {
|
|
core::panic!("panicking from libcore");
|
|
}
|