15 lines · plain
1RUN: rm -rf %t && mkdir -p %t2RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %t/a.obj %S/Inputs/a.s3RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %t/b.obj %S/Inputs/b.s4 5RUN: rm -f %t/l.lib6RUN: llvm-lib /out:%t/foo.lib %t/a.obj %t/b.obj7 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 %s11 12CHECK: a.obj13CHECK: b.obj14CHECK-NOT: a.obj15