]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/stripped-nested-outline-mod-pass.rs
Sync rustc_codegen_cranelift 'ddd4ce25535cf71203ba3700896131ce55fde795'
[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 }