1 // Test that we don't ICE when we are missing the owned_box lang item.
3 // error-pattern: requires `owned_box` lang_item
5 #![feature(lang_items, box_syntax)]
8 use core::panic::PanicInfo;
14 #[lang = "eh_personality"] extern "C" fn eh_personality() {}
15 #[lang = "eh_catch_typeinfo"] static EH_CATCH_TYPEINFO: u8 = 0;
16 #[lang = "panic_impl"] fn panic_impl(panic: &PanicInfo) -> ! { loop {} }