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 22:45:24 +00:00
1234
}
mod a {
pub fn magic_fn() -> usize {
2014-08-01 22:45:24 +00:00
2345
}
}
mod b {
pub fn magic_fn() -> usize {
2014-08-01 22:45:24 +00:00
3456
}
}
2017-10-30 17:21:06 +00:00
fn main() {
magic_fn();
a::magic_fn();
b::magic_fn();
}