aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/macro12.rs
blob: b75fbad2c2fa24485162435471be096f49725421 (plain)
1
2
3
4
5
6
7
8
// { dg-additional-options "-w" }
macro_rules! define_vars {
    ($($v:ident)*) => { $(let $v = 15;)* }
}

fn main() {
    define_vars!(a0 b f __some_identifier);
}