summary refs log tree commit diff
path: root/src/test/ui/export-non-interference3.rs
blob: 0d6b6369f9471d6fcb15b42ceac851c82c4fadf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-pass

pub mod foo {
    pub fn x() { ::bar::x(); }
}

pub mod bar {
    pub fn x() { println!("x"); }
}

pub fn main() { foo::x(); }