mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-01 12:01:54 +00:00
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
|