aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/issue-1251.rs
blob: b16e1e0b0d90eb780dbf03e7515f99c2e035e4dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-additional-options "-w" }
mod a {
    pub mod b {
        pub mod a {
            pub fn foo() {}
        }
    }

    pub fn bidule() {
        crate::a::b::a::foo()
    }
}

fn main() {}