Sign in
llvm
/
llvm-project
/
lld
/
877ba1c811157ccd319ed139b30caa8d86a7717a
/
.
/
test
/
ELF
/
invalid
/
invalid-elf.test
blob: 848a430eb053c98aeb4ae7eb208f2a831e7734ee [
file
] [
log
] [
blame
]
# RUN: rm -rf %t && mkdir -p %t
# RUN: echo > %t/empty.o
# RUN: llvm-ar --format=gnu cr %t/not-elf.a %t/empty.o
# RUN: not ld.lld --whole-archive %t/not-elf.a -o /dev/null 2>&1 | FileCheck %s
# CHECK: not-elf.a(empty.o): not an ELF file