aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/macro56.rs
blob: bf42a64cd8e256205708098dec06fef451b08132 (plain)
1
2
3
4
5
6
7
8
9
macro_rules! check {
    (a, b, c ; x, y, z; e, r; a) => {}
}

macro_rules! foo {
    ($($($i:ident),*);*) => {check!($($($i),*);*);}
}

foo!(a, b, c ; x, y, z; e, r; a);