]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/stripped-nested-outline-mod-pass.rs
Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into sync_cg_clif-2021-05-27
[rust.git] / src / test / ui / parser / stripped-nested-outline-mod-pass.rs
1 // Expansion drives parsing, so conditional compilation will strip
2 // out outline modules and we will never attempt parsing them.
3
4 // check-pass
5
6 fn main() {}
7
8 #[cfg(FALSE)]
9 mod foo {
10     mod bar {
11         mod baz; // This was an error before.
12     }
13 }