aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/import5.rs
blob: 5e07e708d3351eb0e89f6a015d08eb03758f0fc2 (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();
}