rust/tests/run-make-fulldeps/sepcomp-separate/foo.rs
2023-01-11 09:32:08 +00:00

22 lines
231 B
Rust

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();
}