]> git.lizzy.rs Git - rust.git/blob - src/test/run-pass/inner-module.rs
Rollup merge of #58306 - GuillaumeGomez:crate-browser-history, r=QuietMisdreavus
[rust.git] / src / test / run-pass / inner-module.rs
1 mod inner {
2     pub mod inner2 {
3         pub fn hello() { println!("hello, modular world"); }
4     }
5     pub fn hello() { inner2::hello(); }
6 }
7
8 pub fn main() { inner::hello(); inner::inner2::hello(); }