Skip to content

Commit

Permalink
Add regression test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jseyfried committed Sep 15, 2016
1 parent b232f6d commit 6f0ee45
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/run-pass/conditional-compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,6 @@ mod test_methods {
fn the(&self);
}
}

#[cfg(any())]
mod nonexistent_file; // Check that unconfigured non-inline modules are not loaded or parsed.

0 comments on commit 6f0ee45

Please sign in to comment.