1## Check that "Name" defaults to an empty string.
2
3# RUN: yaml2obj %s -o %t
4# RUN: llvm-readobj --sections %t | FileCheck %s
5
6!ELF
7FileHeader:
8  Class: ELFCLASS64
9  Data:  ELFDATA2LSB
10  Type:  ET_EXEC
11Sections:
12  - Type:            SHT_PROGBITS
13  - Name:            .text
14    Type:            SHT_PROGBITS
15    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
16
17# CHECK: Name:  (
18# CHECK-NEXT: Type: SHT_NULL
19# CHECK: Name:  (
20# CHECK-NEXT: Type: SHT_PROGBITS
21# CHECK: Name: .text
22# CHECK-NEXT: Type: SHT_PROGBITS
23