12 lines
289 B
YAML
12 lines
289 B
YAML
|
## 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
|
||
|
## We usually express this as `Symbols: []`, but here we show that the value
|
||
|
## can be omitted.
|
||
|
Symbols:
|