summaryrefslogtreecommitdiffstats
path: root/tests/pretty/macro_rules.rs
blob: 01adb14133b3536f5cdf42715c8fec0217398de2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// pp-exact

macro_rules! brace { () => {} ; }

macro_rules! bracket[() => {} ;];

macro_rules! paren(() => {} ;);

macro_rules! matcher_brackets {
    (paren) => {} ; (bracket) => {} ; (brace) => {} ;
}

macro_rules! all_fragments {
    ($b : block, $e : expr, $i : ident, $it : item, $l : lifetime, $lit :
    literal, $m : meta, $p : pat, $pth : path, $s : stmt, $tt : tt, $ty : ty,
    $vis : vis) => {} ;
}

fn main() {}