summaryrefslogtreecommitdiffstats
path: root/tests/ui/panic-handler/auxiliary/some-panic-impl.rs
blob: 0348b3a2d760bcc969a9437ae51cb17d18d4a49f (plain)
1
2
3
4
5
6
7
8
9
10
11
// no-prefer-dynamic

#![crate_type = "rlib"]
#![no_std]

use core::panic::PanicInfo;

#[panic_handler]
fn panic(info: &PanicInfo) -> ! {
    loop {}
}