#![feature(alloc)]
#![feature(allocator_api)]
#![feature(const_fn)]
#![feature(proc_macro)]
#![feature(slice_get_slice)]
extern crate alloc;
extern crate drone_core;
use core::mem::size_of;
use drone_core::heap;
use std as core;
heap! {
#[doc = "test attribute"]
Heap;
#[doc = "test attribute"]
ALLOC;
size = 4096;
pools = [
[0x4; 512],
[0x10; 128],
];
}
#[test]
fn size() {
assert_eq!(size_of::<Heap>(), size_of::<heap::Pool>() * 2);
}