]> git.lizzy.rs Git - rust.git/blob - src/test/ui/super.rs
Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into sync_cg_clif-2021-05-27
[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 }