summaryrefslogtreecommitdiffstats
path: root/tests/run-make/panic-abort-eh_frame/foo.rs
blob: e185352945538335df6f525f270d20f443d990e2 (plain)
1
2
3
4
5
6
7
8
9
10
#![no_std]

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

pub unsafe fn oops(x: *const u32) -> u32 {
    *x
}