summaryrefslogtreecommitdiffstats
path: root/tests/run-make/cross-lang-lto-upstream-rlibs/staticlib.rs
blob: 34951dda3b6ec0236d96b401aba1d20850331ff9 (plain)
1
2
3
4
5
6
7
8
#![crate_type="staticlib"]

extern crate upstream;

#[no_mangle]
pub extern "C" fn bar() {
    upstream::foo();
}