22 lines · yaml
1## Check that "Index" and "Section" cannot be used together in a symbol.2 3# RUN: not yaml2obj %s4 5!ELF6FileHeader:7 Class: ELFCLASS648 Data: ELFDATA2LSB9 Type: ET_EXEC10Sections:11 - Name: .text12 Type: SHT_PROGBITS13 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]14 Address: 0x100015 AddressAlign: 0x000000000000001016 Content: "0000000000000000"17Symbols:18 Global:19 - Name: _start20 Section: .text21 Index: SHN_ABS22