Skip to content

Commit

Permalink
Add test for #69596
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoxc committed Mar 14, 2020
1 parent 2af085d commit 31183c3
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/test/incremental/issue-69596.rs
@@ -0,0 +1,21 @@
// revisions: rpass1 rpass2

#![allow(unused_imports)]

#[macro_export]
macro_rules! a_macro {
() => {};
}

#[cfg(rpass1)]
use a_macro as same_name;

mod same_name {}

mod needed_mod {
fn _crash() {
use super::same_name;
}
}

fn main() {}

0 comments on commit 31183c3

Please sign in to comment.