summaryrefslogtreecommitdiffstats
path: root/tests/incremental/issue-69596.rs
blob: dc587fdc44b0d45969933cef860df524d9138726 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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() {}