rust/tests/run-make/sepcomp-separate/foo.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
231 B
Rust
Raw Normal View History

fn magic_fn() -> usize {
2014-08-01 17:45:24 -05:00
1234
}
mod a {
pub fn magic_fn() -> usize {
2014-08-01 17:45:24 -05:00
2345
}
}
mod b {
pub fn magic_fn() -> usize {
2014-08-01 17:45:24 -05:00
3456
}
}
2017-10-30 12:21:06 -05:00
fn main() {
magic_fn();
a::magic_fn();
b::magic_fn();
}