1# RUN: yaml2obj %s -o %t
2# RUN: not llvm-objcopy -O binary %t - 2>&1 | FileCheck %s --check-prefix=SYMTAB
3# SYMTAB: cannot write symbol table '.symtab' out to binary
4
5--- !ELF
6FileHeader:
7  Class:   ELFCLASS64
8  Data:    ELFDATA2LSB
9  Type:    ET_DYN
10  Machine: EM_X86_64
11Sections:
12  - Name: .symtab
13    Type: SHT_SYMTAB
14    Flags: [ SHF_ALLOC ]
15