1RUN: mkdir -p %t/foo
2RUN: touch %t/foo/a.txt
3RUN: rm -f %t/foo/archive.a
4
5RUN: cd %t && llvm-ar rcST foo/archive.a foo/a.txt
6RUN: cd %t && llvm-ar t foo/archive.a | FileCheck %s --match-full-lines --check-prefix=PARENT-DIR
7RUN: cd %t/foo && llvm-ar t archive.a | FileCheck %s --match-full-lines --check-prefix=CHILD-DIR
8
9PARENT-DIR: foo/a.txt
10CHILD-DIR:  a.txt
11