Add regression test.

This commit is contained in:
Jeffrey Seyfried 2016-09-27 21:31:30 +00:00
parent ce5ad1da12
commit 174f093651
1 changed files with 11 additions and 0 deletions

View File

@ -17,4 +17,15 @@ mod mod_dir_simple {
pub fn main() {
assert_eq!(mod_dir_simple::syrup::foo(), 10);
#[path = "auxiliary"]
mod foo {
mod two_macros;
}
#[path = "auxiliary"]
mod bar {
macro_rules! m { () => { mod two_macros; } }
m!();
}
}