]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/macro-meta-items-modern.rs
Rollup merge of #107127 - uweigand:s390x-sanitizer, r=Mark-Simulacrum
[rust.git] / tests / 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() {}