summaryrefslogtreecommitdiffstats
path: root/tests/run-make-fulldeps/sepcomp-separate/foo.rs
blob: 169bafa9b3a5018383ae9c7f2b8b80e7d7ddc298 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
fn magic_fn() -> usize {
    1234
}

mod a {
    pub fn magic_fn() -> usize {
        2345
    }
}

mod b {
    pub fn magic_fn() -> usize {
        3456
    }
}

fn main() {
    magic_fn();
    a::magic_fn();
    b::magic_fn();
}