blob: 4995dad9d71ab475ddce111aaa7c49a0c2664ff3 (
plain)
1
2
3
4
5
6
7
8
|
//@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", 42);
}
|