summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/issue-69368/a.rs
blob: 7d339c5a5dab456572616eb8e171cde52dde90ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#![crate_type = "rlib"]
#![feature(lang_items)]
#![feature(panic_unwind)]
#![no_std]

extern crate panic_unwind;

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

#[no_mangle]
extern "C" fn __rust_drop_panic() -> ! {
    loop {}
}

#[no_mangle]
extern "C" fn __rust_foreign_exception() -> ! {
    loop {}
}