1 # RUN: yaml2obj -docnum=1 %s \
2 # RUN: | llvm-readobj --symbols - | FileCheck -check-prefix=DOC1 %s
3 # RUN: yaml2obj -docnum=2 %s \
4 # RUN: | llvm-readobj --symbols - | FileCheck -check-prefix=DOC2 %s
5 # RUN: not yaml2obj -docnum=3 %s 2>&1 \
6 # RUN: | FileCheck -check-prefix=DOC3 %s
10 # DOC3: yaml2obj: Cannot find the 3rd document
13 FileHeader: !FileHeader
23 Content: "0000000000000000"
25 Flags: [SHF_EXECINSTR, SHF_ALLOC]
36 FileHeader: !FileHeader
47 Flags: [SHF_EXECINSTR, SHF_ALLOC]