rust/tests/rustdoc-ui/issues/auxiliary/panic-handler.rs

10 lines
133 B
Rust

// compile-flags: -C panic=abort
#![no_std]
#![no_main]
#[panic_handler]
fn panic(_: &core::panic::PanicInfo) -> ! {
loop {}
}