xref: /llvm-project/llvm/test/tools/llvm-ar/default-coff.test (revision 8ff0c113575167809365d2de5f6a204ff9c9c2bb)
1RUN: yaml2obj %S/Inputs/coff.yaml -o %t.obj
2
3RUN: rm -f %t.ar
4RUN: llvm-ar crs %t.ar %t.obj
5RUN: not grep -q __.SYMDEF %t.ar
6
7Ensure that we generate a GNU style archive for COFF by default.  The GNU linker
8expects that it will be in GNU format.  The lib format on Windows is compatible
9with the GNU format.
10
11