blob: c967a45c7b48505bac124566953b33dcc8546468 [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() {}