blob: 5c8a0e6c0b8d9b3f5a88a92d483fe84b43c70c94 [file] [log] [blame] [edit]
//@ compile-flags: -Cpanic=abort --emit link
//@ error-pattern:using `fn main` requires the standard library
// Make sure that we don't emit an error message mentioning internal lang items.
#![no_std]
#[panic_handler]
fn handler(_info: &core::panic::PanicInfo<'_>) -> ! {
loop {}
}
fn main() {}