summaryrefslogtreecommitdiffstats
path: root/tests/run-make/inline-always-many-cgu/foo.rs
blob: 65fe69c16fe7c0b34297eeb040859246c5b9ca4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![crate_type = "lib"]

pub mod a {
    #[inline(always)]
    pub fn foo() {
    }

    pub fn bar() {
    }
}

#[no_mangle]
pub fn bar() {
    a::foo();
}