rust/src/test/ui/thin-lto-global-allocator.rs

8 lines
146 B
Rust

// run-pass
// compile-flags: -Z thinlto -C codegen-units=2
#[global_allocator]
static A: std::alloc::System = std::alloc::System;
fn main() {}