xref: /llvm-project/llvm/test/tools/yaml2obj/ELF/empty-symbols.yaml (revision a6436b0b3a7fd9f13d7a059a6a78544a7e0b702f)
1## Ensure yaml2obj doesn't error on empty optional mappings, such as Symbols
2# RUN: yaml2obj %s -o /dev/null
3
4!ELF
5FileHeader:
6  Class: ELFCLASS64
7  Data:  ELFDATA2LSB
8  Type:  ET_DYN
9## We usually express this as `Symbols: []`, but here we show that the value
10## can be omitted.
11Symbols:
12