mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
14 lines
304 B
Rust
14 lines
304 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();
|
|
}
|