]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/sepcomp-separate/foo.rs
Rollup merge of #106701 - ibraheemdev:sync-sender-spin, r=Amanieu
[rust.git] / tests / run-make-fulldeps / sepcomp-separate / foo.rs
1 fn magic_fn() -> usize {
2     1234
3 }
4
5 mod a {
6     pub fn magic_fn() -> usize {
7         2345
8     }
9 }
10
11 mod b {
12     pub fn magic_fn() -> usize {
13         3456
14     }
15 }
16
17 fn main() {
18     magic_fn();
19     a::magic_fn();
20     b::magic_fn();
21 }