Skip to content

Commit 6f0ee45

Browse files
committed
Add regression test.
1 parent b232f6d commit 6f0ee45

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/run-pass/conditional-compile.rs

+3
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,6 @@ mod test_methods {
148148
fn the(&self);
149149
}
150150
}
151+
152+
#[cfg(any())]
153+
mod nonexistent_file; // Check that unconfigured non-inline modules are not loaded or parsed.

0 commit comments

Comments
 (0)