summary refs log tree commit diff
path: root/tests/ui/panic_implementation-closures.rs
blob: b161859bf9c5159bdb4180d9449fca686365efb2 (plain)
1
2
3
4
5
6
7
8
9
10
//@ build-pass (FIXME(62277): could be check-pass?)

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

#[panic_handler]
pub fn panic_fmt(_: &::core::panic::PanicInfo) -> ! {
    |x: u8| x;
    loop {}
}