1RUN: rm -rf %t
2RUN: mkdir -p %t/foo
3RUN: cd %t
4
5RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o foo/obj.o %S/Inputs/a.s
6
7RUN: llvm-lib -out:archive.a -llvmlibthin foo/obj.o
8RUN: llvm-ar t archive.a | FileCheck %s --check-prefix=PARENT-DIR --match-full-lines
9PARENT-DIR: foo/obj.o
10
11RUN: llvm-lib -out:foo/archive.a -llvmlibthin foo/obj.o
12RUN: llvm-ar t foo/archive.a | FileCheck %s --check-prefix=SAME-DIR --match-full-lines
13SAME-DIR: foo/obj.o
14