summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/auxiliary/macro-def-site-super.rs
blob: cab747c2c059149c8fb657ff8eaca4e7ad8b82a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#![feature(decl_macro)]

mod inner1 {
    pub struct Struct {}

    pub mod inner2 {
        pub macro mac() {
            super::Struct
        }
    }
}

pub use inner1::inner2 as public;