1# RUN: yaml2obj %s | obj2yaml | FileCheck %s
2
3--- !mach-o
4FileHeader:
5  magic:           0xFEEDFACF
6  cputype:         0x01000007
7  cpusubtype:      0x80000003
8  filetype:        0x00000002
9  ncmds:           1
10  sizeofcmds:      16
11  flags:           0x00218085
12  reserved:        0x00000000
13LoadCommands:
14  - cmd:             LC_IDENT
15    cmdsize:         16
16    PayloadBytes:    [ 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7 ]
17...
18
19# CHECK: LoadCommands:
20# CHECK-NEXT:   - cmd:             LC_IDENT
21# CHECK-NEXT:     cmdsize:         16
22# CHECK-NEXT:     PayloadBytes:    [ 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7 ]
23