]> git.lizzy.rs Git - rust.git/blob - tests/ui/super.rs
Add regression test for #42114
[rust.git] / tests / 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 }