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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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 {}
}