summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/local-modularized-tricky-pass-1.rs
blob: b52ddaf89549e715e3889351c3ebc2c216836c0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// build-pass (FIXME(62277): could be check-pass?)

macro_rules! define_exported { () => {
    #[macro_export]
    macro_rules! exported {
        () => ()
    }
}}

mod inner1 {
    use super::*;
    exported!();
}

mod inner2 {
    define_exported!();
}

fn main() {}