blob: 10fb03c39302b470f85d4927e0d96c2ec31901ef [file] [log] [blame]
use std::alloc::System;
#[global_allocator]
static A: System = System;
#[global_allocator]
static B: System = System;
//~^ ERROR: cannot define more than one #[global_allocator]
fn main() {}