11 lines
		
	
	
		
			368 B
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			368 B
		
	
	
	
		
			Plaintext
		
	
	
	
| # Check that the -T/--script options issue an error when passed
 | |
| # filenames for files that do not exist.
 | |
| 
 | |
| RUN: not lld -flavor old-gnu -target x86_64 -T idonotexist.ls 2> %t.err
 | |
| RUN: FileCheck %s < %t.err
 | |
| 
 | |
| RUN: not lld -flavor old-gnu -target x86_64 --script=idonotexist.ls 2> %t.err
 | |
| RUN: FileCheck %s < %t.err
 | |
| 
 | |
| CHECK: {{.*}}lld: cannot find file {{.*}}idonotexist.ls
 |