aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/macro10.rs
blob: 3f1453e2eda9ee446e848abfc902774abf383476 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-additional-options "-w" }
macro_rules! foo {
    {} => {
        15
    };
}

fn main() {
    let a = foo!();
    let b = foo![];
}