Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / invalid / sht-group.test
blob9041bb61b3e952fb466fb45ef4248ff5f369af1f
1 # REQUIRES: x86
2 # RUN: yaml2obj %s -o %t.o
3 # RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
4 # CHECK: invalid symbol index
6 --- !ELF
7 FileHeader:
8   Class:               ELFCLASS64
9   Data:                ELFDATA2LSB
10   Type:                ET_REL
11   Machine:             EM_X86_64
12 Sections:
13   - Name:              .group
14     Type:              SHT_GROUP
15     Info:              12345
16     Members:
17       - SectionOrType: GRP_COMDAT