mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
14 lines
308 B
Rust
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();
|
|
}
|