2024-02-16 20:02:50 +00:00
|
|
|
//@ aux-build:weak-lang-items.rs
|
|
|
|
|
//@ error-pattern: `#[panic_handler]` function required, but not found
|
|
|
|
|
//@ error-pattern: unwinding panics are not supported without std
|
|
|
|
|
//@ needs-unwind since it affects the error output
|
|
|
|
|
//@ ignore-emscripten missing eh_catch_typeinfo lang item
|
2014-05-19 09:30:09 -07:00
|
|
|
|
|
|
|
|
#![no_std]
|
|
|
|
|
|
|
|
|
|
extern crate core;
|
2015-03-27 10:22:44 -07:00
|
|
|
extern crate weak_lang_items;
|
2017-08-31 09:19:33 -07:00
|
|
|
|
|
|
|
|
fn main() {}
|