empty-symbols.yaml 348 Bytes
## Ensure yaml2obj doesn't error on empty optional mappings, such as Symbols
# RUN: yaml2obj %s -o /dev/null

!ELF
FileHeader:
  Class:           ELFCLASS64
  Data:            ELFDATA2LSB
  Type:            ET_DYN
  Machine:         EM_X86_64
## We usually express this as `Symbols: []`, but here we show that the value
## can be omitted.
Symbols: