blob: 74c80d75c3e1f24132b41586e482a996205f88a9 [file] [log] [blame]
//@ error-pattern:unwinding panics are not supported without std
//@ needs-unwind
//@ compile-flags: -Cpanic=unwind
// Make sure that we don't emit an error message mentioning internal lang items.
#![no_std]
#![no_main]
#[panic_handler]
fn handler(_info: &core::panic::PanicInfo<'_>) -> ! {
loop {}
}
fn main() {}