mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
10 lines
187 B
Rust
10 lines
187 B
Rust
// dont-check-compiler-stderr
|
|
// error-pattern: `#[panic_handler]` function required, but not found
|
|
|
|
#![feature(lang_items)]
|
|
#![no_main]
|
|
#![no_std]
|
|
|
|
#[lang = "eh_personality"]
|
|
fn eh() {}
|