2022-07-05 04:15:22 -05: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 06:10:18 -05:00
|
|
|
|
2017-02-09 03:59:42 -06:00
|
|
|
fn main() {
|
2019-02-06 04:39:16 -06:00
|
|
|
std::panic!("panicking from libstd");
|
2017-02-09 03:59:42 -06:00
|
|
|
}
|