rustc/tests/ui/allocator/auxiliary/system-allocator.rs
2023-08-02 10:33:26 +02:00

9 lines
119 B
Rust

// no-prefer-dynamic
#![crate_type = "rlib"]
use std::alloc::System;
#[global_allocator]
static A: System = System;