about summary refs log tree commit diff
path: root/tests/run-make/notify-all-emit-artifacts/lib.rs
blob: 6ed194204b45466dc7ade6f935ad6ad2ea8d56e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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();
}