summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/auxiliary/panic-handler.rs
blob: 0aaaeee105147a47890ac15a5032fef0b4ea5325 (plain)
1
2
3
4
5
6
7
8
9
// compile-flags: -C panic=abort

#![no_std]
#![no_main]

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