mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 04:04:06 +00:00
433da1fc04
They pass fine.
22 lines
231 B
Rust
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();
|
|
}
|