summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/stripped-nested-outline-mod-pass.rs
blob: 1b4669a439ffe0fa574d11fc406769f6d74c796f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Expansion drives parsing, so conditional compilation will strip
// out outline modules and we will never attempt parsing them.

// check-pass

fn main() {}

#[cfg(FALSE)]
mod foo {
    mod bar {
        mod baz; // This was an error before.
    }
}