xref: /aosp_15_r20/external/llvm/test/tools/llvm-ar/default-coff.test (revision 9880d6810fe72a1726cb53787c6711e909410d58)
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