1## Check how the 'Flags' key can be used to encode e_flags field values. 2 3## Check we are able to produce no flags for EM_NONE. EM_NONE is an arbitrary 4## e_machine type that has no EF_* values defined for it. 5# RUN: yaml2obj %s -o %t-no-flags 6# RUN: llvm-readelf --file-headers %t-no-flags | FileCheck %s --check-prefix=NOFLAGS 7 8# NOFLAGS: Flags: 0x0{{$}} 9 10--- !ELF 11FileHeader: 12 Class: ELFCLASS32 13 Data: ELFDATA2LSB 14 Type: ET_REL 15 Machine: EM_NONE 16 Flags: [ ] 17