summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/macro-meta-items-modern.rs
blob: bc6938d4a6c9af000f0e89c35158b8e206b009a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
// check-pass

macro_rules! check { ($meta:meta) => () }

check!(meta(a b c d));
check!(meta[a b c d]);
check!(meta { a b c d });
check!(meta);
check!(meta = 0);

fn main() {}