mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
433da1fc04
They pass fine.
16 lines
156 B
Rust
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();
|
|
}
|