summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lto/lto-thin-rustc-loads-linker-plugin.rs
blob: 4d54ce32fb5635b83447dcd274f2094a7f650de2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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();
}