blob: d1a3c5089dddb90993b9c3c0cf9b6ccea666bee6 [file]
#![feature(allocator_ext)]
#![crate_type = "rlib"]
use std::alloc::*;
pub struct A;
unsafe impl GlobalAlloc for A {
unsafe fn alloc(&self, _: Layout) -> *mut u8 {
loop {}
}
unsafe fn dealloc(&self, _ptr: *mut u8, _: Layout) {
loop {}
}
}