]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/import-glob-0-rpass.rs
Add 'src/tools/rustfmt/' from commit '7872306edf2e11a69aaffb9434088fd66b46a863'
[rust.git] / src / test / ui / imports / import-glob-0-rpass.rs
1 // run-pass
2 #![allow(dead_code)]
3 use module_of_many_things::*;
4 use dug::too::greedily::and::too::deep::*;
5
6 mod module_of_many_things {
7     pub fn f1() { println!("f1"); }
8     pub fn f2() { println!("f2"); }
9     fn f3() { println!("f3"); }
10     pub fn f4() { println!("f4"); }
11 }
12
13 mod dug {
14     pub mod too {
15         pub mod greedily {
16             pub mod and {
17                 pub mod too {
18                     pub mod deep {
19                         pub fn nameless_fear() { println!("Boo!"); }
20                         pub fn also_redstone() { println!("Whatever."); }
21                     }
22                 }
23             }
24         }
25     }
26 }
27
28
29 pub fn main() { f1(); f2(); f4(); nameless_fear(); also_redstone(); }