mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
f40c5de45c
It is similar to 186511, but for creating files for writing. llvm-svn: 186679
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
|