2020-12-10 12:53:45 -06:00
|
|
|
// error-pattern: the program aborted execution
|
2022-05-31 18:00:14 -05:00
|
|
|
// normalize-stderr-test: "\| +\^+" -> "| ^"
|
|
|
|
// normalize-stderr-test: "libc::abort\(\);|core::intrinsics::abort\(\);" -> "ABORT();"
|
2019-04-14 20:02:55 -05:00
|
|
|
// 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
|
|
|
}
|