summaryrefslogtreecommitdiffstats
path: root/llvm/test/ObjectYAML/MachO/mach_header_32_malformed.yaml
blob: 7b28c859f3ecc5d79428951a445585e7ec04c681 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# RUN: not yaml2obj %s 2>&1 | FileCheck %s

--- !mach-o
FileHeader:      
  magic:           0xFEEDFACE
  cputype:         0x00000007
  cpusubtype:      0x80000003
  filetype:        0x00000002
  ncmds:           0
  sizeofcmds:      0
  flags:           0x00218085
  reserved:        0
...

# CHECK: error: unknown key 'reserved'
OpenPOWER on IntegriCloud