1# RUN: yaml2obj %s -o %t
2
3# RUN: llvm-lipo %t -archs | FileCheck --check-prefix=ARCHS %s
4# RUN: llvm-lipo %t --archs | FileCheck --check-prefix=ARCHS %s
5# ARCHS: i386
6
7# RUN: not llvm-lipo %t %t -archs 2>&1 | FileCheck --check-prefix=MULTIPLE_INPUT_OBJ %s
8# MULTIPLE_INPUT_OBJ: archs expects a single input file
9
10--- !mach-o
11FileHeader:
12  magic:           0xFEEDFACE
13  cputype:         0x00000007
14  cpusubtype:      0x00000003
15  filetype:        0x00000001
16  ncmds:           0
17  sizeofcmds:      0
18  flags:           0x00002000
19...
20