2018-04-30 03:55:24 -05:00
|
|
|
// compile-flags:-C panic=abort
|
|
|
|
|
|
|
|
#![no_std]
|
|
|
|
#![no_main]
|
|
|
|
|
|
|
|
use core::panic::PanicInfo;
|
|
|
|
|
2018-08-22 17:40:32 -05:00
|
|
|
#[panic_handler]
|
2018-04-30 03:55:24 -05:00
|
|
|
fn panic(
|
|
|
|
info: PanicInfo, //~ ERROR argument should be `&PanicInfo`
|
|
|
|
) -> () //~ ERROR return type should be `!`
|
|
|
|
{
|
|
|
|
}
|