]> git.lizzy.rs Git - rust.git/blob - tests/ui/panic-handler/panic-handler-missing.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / panic-handler / panic-handler-missing.rs
1 // dont-check-compiler-stderr
2 // error-pattern: `#[panic_handler]` function required, but not found
3
4 #![feature(lang_items)]
5 #![no_main]
6 #![no_std]
7
8 #[lang = "eh_personality"]
9 fn eh() {}