rust/tests/ui/parser/macro/macro-repeat.rs
2023-01-11 09:32:08 +00:00

13 lines
201 B
Rust

macro_rules! mac {
( $($v:tt)* ) => {
$v
//~^ ERROR still repeating at this depth
//~| ERROR still repeating at this depth
};
}
fn main() {
mac!(0);
mac!(1);
}