about summary refs log tree commit diff
path: root/src/test/run-pass/import6.rs
blob: 33898c35a35414549f16d9678f9e3512ac219827 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import bar::baz;
import foo::zed;
mod foo {
    mod zed {
        fn baz() { log "baz"; }
    }
}
mod bar {
    import zed::baz;
    export baz;
}
fn main() { baz(); }