mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			248 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			248 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // This is a companion to the similarly-named test in run-pass.
 | |
| //
 | |
| // It tests macros that unavoidably produce compile errors.
 | |
| 
 | |
| fn compile_error() {
 | |
|     compile_error!("lel"); //~ ERROR lel
 | |
|     compile_error!("lel",); //~ ERROR lel
 | |
| }
 | |
| 
 | |
| fn main() {}
 | 
