rust/tests/run-make/sepcomp-separate/foo.rs
2023-03-30 07:34:55 -05: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();
}