summaryrefslogtreecommitdiffstats
path: root/tests/ui/panic-handler/panic-handler-bad-signature-3.rs
blob: ab9c9d7f4177c5e58a9eb55b5ad9fc15a08514b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
// compile-flags:-C panic=abort

#![no_std]
#![no_main]

use core::panic::PanicInfo;

#[panic_handler]
fn panic() -> ! { //~ ERROR function should have one argument
    loop {}
}