2022-07-05 09:15:22 +00:00
|
|
|
//@error-pattern: the program aborted execution
|
|
|
|
//@normalize-stderr-test: "\| +\^+" -> "| ^"
|
|
|
|
//@normalize-stderr-test: "libc::abort\(\);|core::intrinsics::abort\(\);" -> "ABORT();"
|
|
|
|
//@compile-flags: -C panic=abort
|
2020-09-18 13:10:18 +02:00
|
|
|
|
2017-02-09 10:59:42 +01:00
|
|
|
fn main() {
|
2019-02-06 11:39:16 +01:00
|
|
|
std::panic!("panicking from libstd");
|
2017-02-09 10:59:42 +01:00
|
|
|
}
|