aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/rust/macro.rs
blob: e42cf1371a77d01d2ce8a29570a482b60f7b0033 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
macro_rules! foo {
    ($a:ident, $b:ident, $c:ident) => {
        struct a { value: $a };
        struct b { value: $b };
    };
    ($a:ident) => {
        struct a { value: $a };
    };
}

foo! {
    A
}