mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	It is similar to 186511, but for creating files for writing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186679 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			14 lines
		
	
	
		
			240 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			240 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| REQUIRES: shell
 | |
| 
 | |
| RUN: mkdir -p %t
 | |
| RUN: cd %t
 | |
| RUN: rm -rf foo
 | |
| RUN: echo foo > foo
 | |
| RUN: rm -f test.a
 | |
| RUN: llvm-ar rc          test.a foo
 | |
| RUN: rm foo
 | |
| RUN: mkdir foo
 | |
| RUN: not llvm-ar x test.a foo 2>&1 | FileCheck %s
 | |
| 
 | |
| CHECK: foo: Is a directory
 |