## Check that "Index" and "Section" cannot be used together in a symbol.
# RUN: not yaml2obj %s
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_EXEC
Sections:
- Name: .text
Type: SHT_PROGBITS
Flags:
Address: 0x1000
AddressAlign: 0x0000000000000010
Content: "0000000000000000"
Symbols:
Global:
- Name: _start
Section: .text
Index: SHN_ABS