1# This test insures that the user cannot have both an Index and a Section field. 2# RUN: not yaml2obj %s 3 4!ELF 5FileHeader: 6 Class: ELFCLASS64 7 Data: ELFDATA2LSB 8 Type: ET_EXEC 9 Machine: EM_X86_64 10Sections: 11 - Name: .text 12 Type: SHT_PROGBITS 13 Flags: [ SHF_ALLOC, SHF_EXECINSTR ] 14 Address: 0x1000 15 AddressAlign: 0x0000000000000010 16 Content: "0000000000000000" 17Symbols: 18 Global: 19 - Name: _start 20 Section: .text 21 Index: SHN_ABS 22