1RUN: rm -rf %t && mkdir -p %t
2RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %t/a.obj %S/Inputs/a.s
3RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %t/b.obj %S/Inputs/b.s
4
5RUN: rm -f %t/l.lib
6RUN: llvm-lib /out:%t/foo.lib %t/a.obj %t/b.obj
7
8# This should ignore the two .obj files, then print the first .lib file,
9# then ignore the 2nd one.
10RUN: llvm-lib /list %t/a.obj %t/b.obj %t/foo.lib %t/foo.lib | FileCheck %s
11
12CHECK: a.obj
13CHECK: b.obj
14CHECK-NOT: a.obj
15