Skip to content

Commit d171e59

Browse files
committed
add test for stripped nested outline module
1 parent adc3451 commit d171e59

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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+
}

0 commit comments

Comments
 (0)