]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro-meta-items-modern.rs
Add 'compiler/rustc_codegen_gcc/' from commit 'afae271d5d3719eeb92c18bc004bb6d1965a5f3f'
[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() {}