mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			238 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			238 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // Verifies that "EnableSplitLTOUnit" module flag is added.
 | |
| //
 | |
| //@ compile-flags: -Clto -Ctarget-feature=-crt-static -Zsplit-lto-unit
 | |
| 
 | |
| #![crate_type="lib"]
 | |
| 
 | |
| pub fn foo() {
 | |
| }
 | |
| 
 | |
| // CHECK: !{{[0-9]+}} = !{i32 4, !"EnableSplitLTOUnit", i32 1}
 | 
