mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 20:29:53 +00:00
b1a003f377
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
|