summaryrefslogtreecommitdiffstats
path: root/tests/ui/hygiene/local_inner_macros.rs
blob: 71ffcac40d384044e02e23ab0b839388d1ea153c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// check-pass
// aux-build:local_inner_macros.rs

extern crate local_inner_macros;

use local_inner_macros::{public_macro, public_macro_dynamic};

public_macro!();

macro_rules! local_helper {
    () => ( struct Z; )
}

public_macro_dynamic!(local_helper);

fn main() {
    let s = S;
    let z = Z;
}