mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-30 00:03:49 +00:00
15 lines
333 B
Rust
15 lines
333 B
Rust
//@ ignore-backends: gcc
|
|
//@ 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();
|
|
}
|