mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-25 13:20:57 +00:00

Differential Revision: https://reviews.llvm.org/D57952 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353620 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
487 B
Plaintext
15 lines
487 B
Plaintext
RUN: rm -rf %t && mkdir -p %t
|
|
RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %t/a.obj %S/Inputs/a.s
|
|
RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %t/b.obj %S/Inputs/b.s
|
|
|
|
RUN: rm -f %t/l.lib
|
|
RUN: llvm-lib /out:%t/foo.lib %t/a.obj %t/b.obj
|
|
|
|
# This should ignore the two .obj files, then print the first .lib file,
|
|
# then ignore the 2nd one.
|
|
RUN: llvm-lib /list %t/a.obj %t/b.obj %t/foo.lib %t/foo.lib | FileCheck %s
|
|
|
|
CHECK: a.obj
|
|
CHECK: b.obj
|
|
CHECK-NOT: a.obj
|