blob: c63b0abdf6e21510b404d358312f1c8ca4927228 [file] [log] [blame]
Kuba Mracek17ee4272017-08-15 20:29:24 +00001RUN: 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.o %S/Inputs/b.s
4RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %t/c %S/Inputs/b.s
Peter Collingbourne7a544f72015-07-08 19:00:46 +00005
Kuba Mracek17ee4272017-08-15 20:29:24 +00006RUN: rm -f %t/a.lib
7RUN: llvm-lib %t/a.obj
8RUN: test -e %t/a.lib
Peter Collingbourne7a544f72015-07-08 19:00:46 +00009
Kuba Mracek17ee4272017-08-15 20:29:24 +000010RUN: rm -f %t/b.lib
11RUN: llvm-lib /libpath:%t b.o
12RUN: test -e %t/b.lib
Peter Collingbourne7a544f72015-07-08 19:00:46 +000013
Kuba Mracek17ee4272017-08-15 20:29:24 +000014RUN: rm -f %t/c.lib
15RUN: llvm-lib /libpath:%t c
16RUN: test -e %t/c.lib