You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
230 B

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: {{[Ii]}}s a directory