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