2020-09-18 13:10:18 +02:00
|
|
|
// error-pattern: the evaluated program aborted execution
|
2019-04-14 21:02:55 -04:00
|
|
|
// compile-flags: -C panic=abort
|
2020-09-18 13:10:18 +02:00
|
|
|
// ignore-windows: windows panics via inline assembly (FIXME)
|
2017-02-09 10:59:42 +01:00
|
|
|
|
|
|
|
fn main() {
|
2019-02-06 11:39:16 +01:00
|
|
|
core::panic!("{}-panicking from libcore", 42);
|
2017-02-09 10:59:42 +01:00
|
|
|
}
|