blob: b7a07cc274e1d1ab66f529a4e0cf435aa599dd35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// aux-build:system-allocator.rs
// no-prefer-dynamic
// error-pattern: the #[global_allocator] in
extern crate system_allocator;
use std::alloc::System;
#[global_allocator]
static A: System = System;
fn main() {}
|