summary refs log tree commit diff
path: root/src/test/run-pass/use-mod.rs
blob: 13964081e478e1461d7c9760e4a61f860acd7796 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use mod a::b;

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

fn main() {
    b::f();
}