]> git.lizzy.rs Git - rust.git/blob - src/test/ui/panic-handler/weak-lang-item.rs
Override rustc version in ui and mir-opt tests to get stable hashes
[rust.git] / src / test / 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 compiled with panic=abort, personality not required
6
7 #![no_std]
8
9 extern crate core;
10 extern crate weak_lang_items;
11
12 fn main() {}