rust/src/test/run-pass/use-mod.rs

15 lines
139 B
Rust

use mod a::b;
mod a {
#[legacy_exports];
mod b {
#[legacy_exports];
fn f() {}
}
}
fn main() {
b::f();
}