summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/cross-lang-lto-clang/rustlib.rs
blob: 8a74d74a420bd556056268d427ca26493d02f447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#![crate_type="staticlib"]

#[no_mangle]
pub extern "C" fn rust_always_inlined() -> u32 {
    42
}

#[no_mangle]
#[inline(never)]
pub extern "C" fn rust_never_inlined() -> u32 {
    421
}