]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro-meta-items-modern.rs
Merge commit '533f0fc81ab9ba097779fcd27c8f9ea12261fef5' into psimd
[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() {}