rust/tests/run-make/issue-69368/b.rs
2023-03-30 07:34:55 -05:00

9 lines
160 B
Rust

#![crate_type = "rlib"]
#![feature(alloc_error_handler)]
#![no_std]
#[alloc_error_handler]
pub fn error_handler(_: core::alloc::Layout) -> ! {
panic!();
}