rust/src/test/ui/panic-handler/weak-lang-item.rs
2020-12-29 23:39:56 +03:00

11 lines
325 B
Rust

// aux-build:weak-lang-items.rs
// error-pattern: `#[panic_handler]` function required, but not found
// error-pattern: language item required, but not found: `eh_personality`
// ignore-emscripten compiled with panic=abort, personality not required
#![no_std]
extern crate core;
extern crate weak_lang_items;
fn main() {}