summaryrefslogtreecommitdiffstats
path: root/tests/assembly/auxiliary/breakpoint-panic-handler.rs
blob: d54c1181e1a0c64fc87e7f15fb8c7e80a89fe340 (plain)
1
2
3
4
5
6
7
8
#![feature(core_intrinsics)]
#![no_std]

#[panic_handler]
unsafe fn breakpoint_panic_handler(_: &::core::panic::PanicInfo) -> ! {
    core::intrinsics::breakpoint();
    core::hint::unreachable_unchecked();
}