llvm/llvm/test/tools/obj2yaml/ELF/symbol-type.yaml

# RUN: yaml2obj %s -o %t
# RUN: obj2yaml %t | FileCheck %s

# CHECK:      Symbols:
# CHECK-NEXT:   - Name:    a_known_type
# CHECK-NEXT:     Type:    STT_OBJECT
# CHECK-NEXT:     Binding: STB_GLOBAL
# CHECK-NEXT:   - Name:    an_unknown_type
# CHECK-NEXT:     Type:    0x7
# CHECK-NEXT:     Binding: STB_GLOBAL

!ELF
FileHeader:
  Class: ELFCLASS64
  Data:  ELFDATA2LSB
  Type:  ET_REL
Symbols:
  - Name:    a_known_type
    Type:    STT_OBJECT
    Binding: STB_GLOBAL
  - Name:    an_unknown_type
    Type:    0x7
    Binding: STB_GLOBAL