blob: 0e1d065ddcf34fd75d9a82660bb281fb63751792 [file] [log] [blame]
## We have a YAML file describing an invalid data type.
## Check we are able to produce the invalid binary.
# RUN: yaml2obj %s -o %t.o
## Check that EI_DATA field is ELFDATANONE(0)
# RUN: od -b %t.o +5 | FileCheck %s
# CHECK: 0000005 000
--- !ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATANONE
Type: ET_REL
Machine: EM_X86_64