2013-07-19 23:02:03 +08:00
|
|
|
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
|
|
|
|
|
2015-03-03 05:33:18 +08:00
|
|
|
CHECK: foo: {{[Ii]}}s a directory
|