1If the same file is specified more than once as an input file,
2llvm-lib should ignore all but the first occurrence of the file.
3
4RUN: rm -rf %t
5RUN: mkdir -p %t
6
7RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %t/foo.o %S/Inputs/a.s
8RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %t/bar.o %S/Inputs/b.s
9RUN: llvm-lib -out:%t/foo.lib %t/foo.o %t/foo.o %t/bar.o
10
11RUN: llvm-ar t %t/foo.lib | FileCheck %s
12CHECK: foo.o
13CHECK-NOT: foo.o
14CHECK: bar.o
15