15 lines · yaml
1## We have a YAML file describing an invalid data type.2## Check we are able to produce the invalid binary.3 4# RUN: yaml2obj %s -o %t.o5 6## Check that EI_DATA field is ELFDATANONE(0)7# RUN: od -b %t.o +5 | FileCheck %s8# CHECK: 0000005 0009 10--- !ELF11FileHeader:12 Class: ELFCLASS6413 Data: ELFDATANONE14 Type: ET_REL15