]> git.lizzy.rs Git - rust.git/blob - tests/ui/panic-handler/weak-lang-item.rs
Auto merge of #106458 - albertlarsan68:move-tests, r=jyn514
[rust.git] / tests / ui / panic-handler / weak-lang-item.rs
1 // aux-build:weak-lang-items.rs
2 // error-pattern: `#[panic_handler]` function required, but not found
3 // error-pattern: language item required, but not found: `eh_personality`
4 // needs-unwind since it affects the error output
5 // ignore-emscripten missing eh_catch_typeinfo lang item
6
7 #![no_std]
8
9 extern crate core;
10 extern crate weak_lang_items;
11
12 fn main() {}