2018-04-30 08:55:24 +00:00
|
|
|
// compile-flags:-C panic=abort
|
|
|
|
|
|
|
|
#![no_std]
|
|
|
|
#![no_main]
|
|
|
|
|
|
|
|
use core::panic::PanicInfo;
|
|
|
|
|
2018-08-22 22:40:32 +00:00
|
|
|
#[panic_handler]
|
2018-04-30 08:55:24 +00:00
|
|
|
fn panic() -> ! { //~ ERROR function should have one argument
|
|
|
|
loop {}
|
|
|
|
}
|