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