summaryrefslogtreecommitdiffstats
path: root/src/test/ui/super.rs
blob: 86c720288c355ed5fae7473d4325a2c2f9baa488 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// run-pass

#![allow(dead_code)]
// pretty-expanded FIXME #23616

pub mod a {
    pub fn f() {}
    pub mod b {
        fn g() {
            super::f();
        }
    }
}

pub fn main() {
}