mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			241 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			241 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| use std::arch::global_asm;
 | |
| 
 | |
| fn main() {
 | |
|     global_asm!(); //~ ERROR requires at least a template string argument
 | |
|     global_asm!(struct); //~ ERROR expected expression
 | |
|     global_asm!(123); //~ ERROR asm template must be a string literal
 | |
| }
 | 
