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

16 lines
156 B
Rust

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