summaryrefslogtreecommitdiffstats
path: root/src/test/ui/panic-handler/weak-lang-item.rs
blob: df31e614cf809be8d815908cd1393a562712479d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// aux-build:weak-lang-items.rs
// error-pattern: `#[panic_handler]` function required, but not found
// error-pattern: language item required, but not found: `eh_personality`
// needs-unwind since it affects the error output
// ignore-emscripten compiled with panic=abort, personality not required

#![no_std]

extern crate core;
extern crate weak_lang_items;

fn main() {}