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

    export bar;

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

    fn x() { debug!{"x"}; }
}

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