2020-12-10 19:53:45 +01:00
|
|
|
// error-pattern: the program aborted
|
2021-08-05 17:10:30 +08:00
|
|
|
#![feature(c_unwind)]
|
2020-03-12 20:46:58 +01:00
|
|
|
|
2021-08-05 17:10:30 +08:00
|
|
|
extern "C" fn panic_abort() { panic!() }
|
2020-03-12 20:46:58 +01:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
panic_abort();
|
|
|
|
}
|