]> git.lizzy.rs Git - rust.git/blob - src/test/ui/super.rs
Merge commit '9a0c32934ebe376128230aa8da3275697b2053e7' into sync_cg_clif-2021-03-05
[rust.git] / src / test / ui / super.rs
1 // run-pass
2
3 #![allow(dead_code)]
4 // pretty-expanded FIXME #23616
5
6 pub mod a {
7     pub fn f() {}
8     pub mod b {
9         fn g() {
10             super::f();
11         }
12     }
13 }
14
15 pub fn main() {
16 }