aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/import5.rs
blob: 077cc14cd970ed2087cb8bd99b9a4a0ada7b4f69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import foo::bar;
mod foo {
  import zed::bar;
  mod zed {
    fn bar() {
      log "foo";
    }
  }
}

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