rust/tests/ui/panic-handler/auxiliary/some-panic-impl.rs

12 lines
153 B
Rust

//@ no-prefer-dynamic
#![crate_type = "rlib"]
#![no_std]
use core::panic::PanicInfo;
#[panic_handler]
fn panic(info: &PanicInfo) -> ! {
loop {}
}