2020-12-28 20:15:16 +03:00
|
|
|
// dont-check-compiler-stderr
|
2018-08-23 00:40:32 +02:00
|
|
|
// error-pattern: `#[panic_handler]` function required, but not found
|
2018-06-29 16:00:34 -05:00
|
|
|
|
|
|
|
#![feature(lang_items)]
|
|
|
|
#![no_main]
|
|
|
|
#![no_std]
|
|
|
|
|
|
|
|
#[lang = "eh_personality"]
|
|
|
|
fn eh() {}
|