]> git.lizzy.rs Git - rust.git/blob - src/test/ui/inner-module.rs
Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup
[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(); }