rust/tests/ui/lto/lto-thin-rustc-loads-linker-plugin.rs
2024-02-16 20:02:50 +00:00

14 lines
308 B
Rust

//@ compile-flags: -C lto=thin
//@ aux-build:lto-rustc-loads-linker-plugin.rs
//@ run-pass
//@ no-prefer-dynamic
// Same as the adjacent `lto-thin-rustc-loads-linker-plugin.rs` test, only with
// ThinLTO.
extern crate lto_rustc_loads_linker_plugin;
fn main() {
lto_rustc_loads_linker_plugin::foo();
}