summaryrefslogtreecommitdiffstats
path: root/tests/run-make/issue-69368/b.rs
blob: 4d6af0266563bddc124cb1e5710bd744ce027e4d (plain)
1
2
3
4
5
6
7
8
#![crate_type = "rlib"]
#![feature(alloc_error_handler)]
#![no_std]

#[alloc_error_handler]
pub fn error_handler(_: core::alloc::Layout) -> ! {
    panic!();
}