mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Add regression test.
This commit is contained in:
@@ -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!();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user