mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 04:39:16 +00:00
13 lines
201 B
Rust
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);
|
|
}
|