rust/tests/ui/panic-handler/panic-handler-bad-signature-3.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
179 B
Rust
Raw Normal View History

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