blob: 96da780e4a254ff6b8f4daacebafce68938141e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// 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() {}
|