summary refs log tree commit diff
path: root/src/test/ui/panic-runtime/auxiliary/panic-runtime-lang-items.rs
blob: abe34a39caf340608cfce82685c0ffffe18f7d4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// no-prefer-dynamic

#![crate_type = "rlib"]

#![no_std]
#![feature(lang_items)]

use core::panic::PanicInfo;

#[lang = "panic_impl"]
fn panic_impl(info: &PanicInfo) -> ! { loop {} }
#[lang = "eh_personality"]
fn eh_personality() {}
#[lang = "eh_unwind_resume"]
fn eh_unwind_resume() {}