aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/macro-issue2194.rs
blob: c94b1147d66fe830a625b0a5321be225d0c6f5e6 (plain)
1
2
3
4
5
6
7
macro_rules! foo {($type:ident) => {
    let $type = 12;
}} 

pub fn foo() {
    foo!(_a);
}