Debian Codegraph @

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

raw
1 macro_rules! repeat {
2 ( $( $i:literal ),* ; $( $j:literal ),* ) => (( $( ($i,$j) ),* ))
3 // { dg-error "different amount of matches used in merged repetitions" "" { target *-*-* } .-1 }
4 }
5
6 fn main() -> i32 {
7 let _ = repeat!(1, 2, 3; 2, 3);
8
9 0
10 }