rust/tests/ui/lto/thin-lto-global-allocator.rs

8 lines
148 B
Rust

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