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

    fn x() { bar::x(); }
}

mod bar {
    export x;

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

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