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