mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +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);
 | 
						|
}
 |