mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			253 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			253 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// revisions:cfail1 cfail2
 | 
						|
// compile-flags: -Z query-dep-graph --crate-type rlib -C linker-plugin-lto -O
 | 
						|
// no-prefer-dynamic
 | 
						|
// build-pass
 | 
						|
 | 
						|
#![feature(rustc_attrs)]
 | 
						|
#![rustc_partition_reused(module = "lto_in_linker", cfg = "cfail2")]
 | 
						|
 | 
						|
pub fn foo() {}
 |