]> git.proxmox.com Git - rustc.git/blame - src/test/run-make-fulldeps/issue-69368/a.rs
New upstream version 1.65.0+dfsg1
[rustc.git] / src / test / run-make-fulldeps / issue-69368 / a.rs
CommitLineData
74b04a01
XL
1#![crate_type = "rlib"]
2#![feature(lang_items)]
3#![feature(panic_unwind)]
4#![no_std]
5
6extern crate panic_unwind;
7
8#[panic_handler]
9pub fn panic_handler(_: &core::panic::PanicInfo) -> ! {
10 loop {}
11}
12
13#[no_mangle]
14extern "C" fn __rust_drop_panic() -> ! {
15 loop {}
16}
1b1a35ee
XL
17
18#[no_mangle]
19extern "C" fn __rust_foreign_exception() -> ! {
20 loop {}
21}
f2b60f7d
FG
22
23#[lang = "eh_personality"]
24fn eh_personality() {
25 loop {}
26}