mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +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);
 | |
| }
 | 
