1# RUN: yaml2obj %s -o %t
2# RUN: ld.lld %t -o /dev/null
3
4# Verify that lld can handle sections with an alignment of zero.
5
6!ELF
7FileHeader:
8  Class:           ELFCLASS64
9  Data:            ELFDATA2LSB
10  Type:            ET_REL
11  Machine:         EM_X86_64
12Sections:
13  - Name:            .text
14    Type:            SHT_PROGBITS
15    AddressAlign:    0
16
17Symbols:
18  - Name:          _start
19    Section:       .text
20    Binding:       STB_GLOBAL
21