blob: aa1291e77aecbb3a495210ef3b318af7078208fc [file] [log] [blame]
use std::alloc::System;
#[global_allocator]
static A: System = System;
#[global_allocator]
static B: System = System;
//~^ ERROR: cannot define multiple global allocators
fn main() {}