]> git.lizzy.rs Git - rust.git/blob - src/test/compile-fail/panic-handler-missing.rs
Auto merge of #61212 - alexcrichton:skip-rustc, r=pietroalbini
[rust.git] / src / test / compile-fail / panic-handler-missing.rs
1 // error-pattern: `#[panic_handler]` function required, but not found
2
3 #![feature(lang_items)]
4 #![no_main]
5 #![no_std]
6
7 #[lang = "eh_personality"]
8 fn eh() {}