mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			339 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			339 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // This test depends on a patch that was committed to upstream LLVM
 | |
| // before 4.0, formerly backported to the Rust LLVM fork.
 | |
| 
 | |
| // ignore-windows
 | |
| // ignore-macos
 | |
| 
 | |
| // compile-flags: -g -C no-prepopulate-passes
 | |
| 
 | |
| // CHECK-LABEL: @main
 | |
| // CHECK: {{.*}}DISubprogram{{.*}}name: "main",{{.*}}DI{{(SP)?}}FlagMainSubprogram{{.*}}
 | |
| 
 | |
| pub fn main() {
 | |
| }
 | 
