2019-11-17 08:40:34 -05:00
|
|
|
// ignore-test: Abort panics are not yet supported
|
2017-02-09 10:59:42 +01:00
|
|
|
//error-pattern: the evaluated program panicked
|
2019-04-14 21:02:55 -04:00
|
|
|
// compile-flags: -C panic=abort
|
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
|
|
|
}
|