summaryrefslogtreecommitdiffstats
path: root/tests/run-make/issue-53964/panic.rs
blob: a878120507172ef6007097c94e3ba184ee797c09 (plain)
1
2
3
4
5
6
7
8
9
10
#![crate_type = "lib"]
#![feature(panic_handler)]
#![no_std]

use core::panic::PanicInfo;

#[panic_handler]
fn panic(_: &PanicInfo) -> ! {
    loop {}
}