rust/src/test/compile-fail/weak-lang-item.rs

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() {}