llvm-for-llvmta/test/tools/llvm-ar/default-coff.test
Nils Hölscher 3500bf8dde first commit
2022-04-25 10:02:23 +02:00

11 lines
309 B
Plaintext

RUN: yaml2obj %S/Inputs/coff.yaml -o %t.obj
RUN: rm -f %t.ar
RUN: llvm-ar crs %t.ar %t.obj
RUN: not grep -q __.SYMDEF %t.ar
Ensure that we generate a GNU style archive for COFF by default. The GNU linker
expects that it will be in GNU format. The lib format on Windows is compatible
with the GNU format.