Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / invalid / comdat-broken.test
blob02941070dc0d1be12ec6c55b7cbaa78006de359e
1 # REQUIRES: x86
3 # RUN: yaml2obj %s -o %t.o
4 # RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
5 # RUN: not ld.lld %t.o %t.o -o /dev/null 2>&1 | FileCheck %s
7 # CHECK: error: {{.*}}.o: unsupported SHT_GROUP format
9 --- !ELF
10 FileHeader:
11   Class:               ELFCLASS64
12   Data:                ELFDATA2LSB
13   Type:                ET_REL
14   Machine:             EM_X86_64
15 Sections:
16   - Name:              .group
17     Type:              SHT_GROUP
18     Link:              .symtab
19     Info:              foo
20     Members:
21       - SectionOrType: 0xFF
22       - SectionOrType: 3
23 Symbols:
24   - Name:              foo
25     Binding:           STB_GLOBAL