]> git.lizzy.rs Git - rust.git/blob - tests/ui/panic-handler/auxiliary/some-panic-impl.rs
Rollup merge of #105172 - alexs-sh:issue-98861-fix-next, r=scottmcm
[rust.git] / tests / ui / panic-handler / auxiliary / some-panic-impl.rs
1 // no-prefer-dynamic
2
3 #![crate_type = "rlib"]
4 #![no_std]
5
6 use core::panic::PanicInfo;
7
8 #[panic_handler]
9 fn panic(info: &PanicInfo) -> ! {
10     loop {}
11 }