about summary refs log tree commit diff
path: root/tests/run-make/inline-always-many-cgu/foo.rs
blob: b7c5371ea49cc52127efa7917c7db103c97d126f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#![crate_type = "lib"]

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

    pub fn bar() {}
}

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