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

10 lines
133 B
Rust
Raw Normal View History

2023-02-24 11:15:56 -06:00
// compile-flags: -C panic=abort
#![no_std]
#![no_main]
#[panic_handler]
fn panic(_: &core::panic::PanicInfo) -> ! {
loop {}
}