]> git.lizzy.rs Git - rust.git/blob - tests/target/mod-1.rs
Merge pull request #966 from MicahChalmer/skip-children-in-plain-write-mode
[rust.git] / tests / target / mod-1.rs
1 // Deeply indented modules.
2
3 mod foo {
4     mod bar {
5         mod baz {}
6     }
7 }
8
9 mod foo {
10     mod bar {
11         mod baz {
12             fn foo() {
13                 bar()
14             }
15         }
16     }
17
18     mod qux {}
19 }
20
21 mod boxed {
22     pub use std::boxed::{Box, HEAP};
23 }
24
25 pub mod x {
26     pub fn freopen(filename: *const c_char,
27                    mode: *const c_char,
28                    mode2: *const c_char,
29                    mode3: *const c_char,
30                    file: *mut FILE)
31                    -> *mut FILE {
32     }
33 }
34
35 mod y {
36     // sup boooooiiii
37 }