]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/macro/macro-repeat.rs
Rollup merge of #91122 - dtolnay:not, r=m-ou-se
[rust.git] / src / test / ui / parser / macro / macro-repeat.rs
1 macro_rules! mac {
2     ( $($v:tt)* ) => {
3         $v
4         //~^ ERROR still repeating at this depth
5         //~| ERROR still repeating at this depth
6     };
7 }
8
9 fn main() {
10     mac!(0);
11     mac!(1);
12 }