]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro-meta-items-modern.rs
Merge commit 'ea199bacef07213dbe008841b89c450e3bf0c638' into rustfmt-sync
[rust.git] / src / test / ui / macros / macro-meta-items-modern.rs
1 // check-pass
2
3 macro_rules! check { ($meta:meta) => () }
4
5 check!(meta(a b c d));
6 check!(meta[a b c d]);
7 check!(meta { a b c d });
8 check!(meta);
9 check!(meta = 0);
10
11 fn main() {}