]> git.lizzy.rs Git - rust.git/blob - src/test/ui/inner-module.rs
Merge commit 'd556c56f792756dd7cfec742b9f2e07612dc10f4' into sync_cg_clif-2021-02-01
[rust.git] / src / test / ui / inner-module.rs
1 // run-pass
2
3 mod inner {
4     pub mod inner2 {
5         pub fn hello() { println!("hello, modular world"); }
6     }
7     pub fn hello() { inner2::hello(); }
8 }
9
10 pub fn main() { inner::hello(); inner::inner2::hello(); }