rust/tests/run-make/inline-always-many-cgu/foo.rs

14 lines
146 B
Rust

#![crate_type = "lib"]
pub mod a {
#[inline(always)]
pub fn foo() {}
pub fn bar() {}
}
#[no_mangle]
pub fn bar() {
a::foo();
}