rust/tests/ui/macros/macro-meta-items-modern.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
176 B
Rust
Raw Normal View History

2019-09-30 16:58:30 -05:00
// 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() {}