blob: e313d9c11dec329a325783346993410267867495 [file] [log] [blame] [edit]
//@error-in-other-file: the program aborted execution
//@normalize-stderr-test: "unsafe \{ libc::abort\(\) \}|crate::intrinsics::abort\(\);" -> "ABORT();"
//@normalize-stderr-test: "\| +\^+" -> "| ^"
//@normalize-stderr-test: "\n +[0-9]+:[^\n]+" -> ""
//@normalize-stderr-test: "\n +at [^\n]+" -> ""
#![feature(abort_unwind)]
fn main() {
std::panic::abort_unwind(|| panic!("PANIC!!!"));
}