rust/tests/ui/lto/thin-lto-global-allocator.rs
2024-02-16 20:02:50 +00:00

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() {}