Rename some examples

This commit is contained in:
Yota Toyama committed 2019-04-30 15:21:42 +00:00
1 parent 3847afbc60
commit ac9bb2ec16
10 files changed
+208 -80

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
extern crate bdwgc_alloc;
use bdwgc_alloc::Allocator;
#[global_allocator]
static GLOBAL_ALLOCATOR: Allocator = Allocator;
fn main() {
unsafe { Allocator::initialize() }
let mut _n: Box<[u8; 2 ^ 8]> = Box::new([0; 2 ^ 8]);
loop {
_n = Box::new([0; 2 ^ 8]);
}
}