summaryrefslogtreecommitdiffstats
path: root/tests/ui/hygiene/issue-15221.rs
blob: 4b8319a8304ff1ba0d644a40b0a8b494e5499699 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// run-pass
#![allow(path_statements)]
// pretty-expanded FIXME #23616

macro_rules! inner {
    ($e:pat ) => ($e)
}

macro_rules! outer {
    ($e:pat ) => (inner!($e))
}

fn main() {
    let outer!(g1) = 13;
    g1;
}