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

12 lines
152 B
Rust
Raw Normal View History

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