aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/macro55.rs
blob: 808718cfa45ac76b02c9d2e58eefc26c506731c0 (plain)
1
2
3
4
5
6
7
8
9
10
macro_rules! id {
    ($i:ident) => { $i }
}

pub enum F {
    Tuple(id!(u32)),
    Struct { field: id!(u64) },
}

fn main() {}