1 RUN: mkdir -p %t 2 RUN: cd %t 3 RUN: rm -rf foo 4 RUN: echo foo > foo 5 RUN: rm -f test.a 6 RUN: llvm-ar rc test.a foo 7 RUN: rm foo 8 RUN: mkdir foo 9 RUN: not llvm-ar x test.a foo 2>&1 | FileCheck %s 10 11 CHECK: foo: {{[Ii]}}s a directory 12