• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.o
5
6## Check that EI_DATA field is ELFDATANONE(0)
7# RUN:   od -b %t.o +5 | FileCheck %s
8# CHECK: 0000005 000
9
10--- !ELF
11FileHeader:
12  Class: ELFCLASS64
13  Data:  ELFDATANONE
14  Type:  ET_REL
15