]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/stripped-nested-outline-mod-pass.rs
New upstream version 1.44.1+dfsg1
[rustc.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 }