Debian Codegraph @

gcc/testsuite/rust/compile/macros/mbe/macro6.rs

raw
1 macro_rules! zero_or_one {
2 ($($a:literal)?) => {
3 1 + 2;
4 }
5 }
6
7 fn main() {
8 zero_or_one!();
9 zero_or_one!(14);
10 zero_or_one!(125 12 "gcc"); // { dg-error "Failed to match any rule within macro" }
11 }