]>
git.proxmox.com Git - rustc.git/blob - tests/run-make/issue-69368/c.rs
14 unsafe impl GlobalAlloc
for Allocator
{
15 unsafe fn alloc(&self, _
: Layout
) -> *mut u8 {
19 unsafe fn dealloc(&self, _
: *mut u8, _
: Layout
) {
25 static ALLOCATOR
: Allocator
= Allocator
;
28 fn main(argc
: isize, _argv
: *const *const u8) -> isize {
29 let mut v
= Vec
::new();