mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 15:05:30 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			296 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			296 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// aux-build:found-staticlib.rs
 | 
						|
 | 
						|
// normalize-stderr-test: "\.nll/" -> "/"
 | 
						|
// normalize-stderr-test: "\\\?\\" -> ""
 | 
						|
// normalize-stderr-test: "(lib)?found_staticlib\.[a-z]+" -> "libfound_staticlib.somelib"
 | 
						|
 | 
						|
extern crate found_staticlib; //~ ERROR E0462
 | 
						|
 | 
						|
fn main() {
 | 
						|
    found_staticlib::foo();
 | 
						|
}
 |