blob: 20a0f6aef860b8932d299a76a01d69743cff5256 [file]
//@ aux-build:system-allocator.rs
//@ no-prefer-dynamic
extern crate system_allocator;
use std::alloc::System;
#[global_allocator]
static A: System = System;
fn main() {}
//~? ERROR the `#[global_allocator]` in this crate conflicts with global allocator in `system_allocator`