llvm/lld/test/ELF/invalid/merge-zero-size.test

# REQUIRES: x86

# RUN: yaml2obj %s -o %t.o

# Test that we accept a zero sh_entsize for SHF_MERGE section.
# RUN: ld.lld %t.o -o %t.exe

!ELF
FileHeader:
  Class:           ELFCLASS64
  Data:            ELFDATA2LSB
  OSABI:           ELFOSABI_FREEBSD
  Type:            ET_REL
  Machine:         EM_X86_64
Sections:
  - Type:            SHT_PROGBITS
    Name:            .strings
    Flags:           [ SHF_ALLOC, SHF_MERGE, SHF_STRINGS ]
    AddressAlign:    0x04
    Content:         "FFFFFFFFFFFFFFFF"
    EntSize:         0x0