22 lines
249 B
Rust
22 lines
249 B
Rust
|
fn one() -> usize {
|
||
|
1
|
||
|
}
|
||
|
|
||
|
pub mod a {
|
||
|
pub fn two() -> usize {
|
||
|
::one() + ::one()
|
||
|
}
|
||
|
}
|
||
|
|
||
|
pub mod b {
|
||
|
pub fn three() -> usize {
|
||
|
::one() + ::a::two()
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#[inline(never)]
|
||
|
pub fn main() {
|
||
|
a::two();
|
||
|
b::three();
|
||
|
}
|