about summary refs log tree commit diff
path: root/src/test/run-pass/export-non-interference2.rs
blob: c32f718c4d1d1798a0feff16fafd9822ab1c55ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
mod foo {

    export bar;

    mod bar {
        fn y() { x(); }
    }

    fn x() { log "x"; }
}

fn main() { foo::bar::y(); }