about summary refs log tree commit diff
path: root/src/tools/miri/tests/fail/alloc/alloc_error_handler.rs
blob: 35b8e20e56b3c145686fdee283ba6c395136e77f (plain)
1
2
3
4
5
6
7
8
//@error-in-other-file: aborted
#![feature(allocator_api)]

use std::alloc::*;

fn main() {
    handle_alloc_error(Layout::for_value(&0));
}