xref: /aosp_15_r20/external/llvm/test/tools/llvm-ar/default-macho.test (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1RUN: yaml2obj %S/Inputs/macho.yaml -o %t.o
2
3RUN: rm -f %t.ar
4RUN: llvm-ar crs %t.ar %t.o
5RUN: grep -q __.SYMDEF %t.ar
6
7Ensure that we generate a BSD style archive for MachO by default.  ld64 expects
8that it will be in BSD format.
9
10