rust/tests/rustdoc-ui/auxiliary/panic-handler.rs
2023-02-24 18:15:56 +01:00

10 lines
133 B
Rust

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