summary refs log tree commit diff
path: root/src/test/run-pass/import5.rs
blob: f1b0c5daac921c1bb9bf3e0e0d3f9ec6b9fbd90d (plain)
1
2
3
4
5
6
7
8
9
10
import foo::bar;
mod foo {
    import zed::bar;
    export bar;
    mod zed {
        fn bar() { #debug("foo"); }
    }
}

fn main(args: [str]) { bar(); }