repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-complete.git]
/
test
/
ObjectYAML
/
MachO
/
mach_header_32_malformed.yaml
blob
7b28c859f3ecc5d79428951a445585e7ec04c681
1
# RUN: not yaml2obj %s 2>&1 | FileCheck %s
2
3
--- !mach-o
4
FileHeader:
5
magic: 0xFEEDFACE
6
cputype: 0x00000007
7
cpusubtype: 0x80000003
8
filetype: 0x00000002
9
ncmds: 0
10
sizeofcmds: 0
11
flags: 0x00218085
12
reserved: 0
13
...
14
15
# CHECK: error: unknown key 'reserved'