1# RUN: yaml2obj %s -o %t
2
3# RUN: not llvm-lipo %t -thin i386 2>&1 | FileCheck --check-prefix=NO_OUTPUT %s
4# NO_OUTPUT: error: thin expects a single output file
5
6# RUN: not llvm-lipo %t %t -thin i386 2>&1 | FileCheck --check-prefix=MULTIPLE_INPUT_OBJ %s
7# MULTIPLE_INPUT_OBJ: thin expects a single input file
8
9# RUN: not llvm-lipo %t -thin i386 -output %t.out 2>&1 | FileCheck --check-prefix=INPUT_FILE_THIN %s
10# INPUT_FILE_THIN: must be a fat file when the -thin option is specified
11
12--- !mach-o
13FileHeader:
14  magic:           0xFEEDFACE
15  cputype:         0x00000097
16  cpusubtype:      0x00000003
17  filetype:        0x00000001
18  ncmds:           0
19  sizeofcmds:      0
20  flags:           0x00002000
21...
22