llvm/llvm/test/tools/llvm-ar/default-coff.test

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.