]> git.lizzy.rs Git - rust.git/blob - tests/ui/panic-handler/panic-handler-missing.rs
Auto merge of #106458 - albertlarsan68:move-tests, r=jyn514
[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() {}