Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / invalid / merge-invalid-size.s
blob71c3f98e755294fe62677f55296ac76d7fa46315
1 // REQUIRES: x86
2 // RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
3 // RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
4 // CHECK: merge-invalid-size.s.tmp.o:(.foo): SHF_MERGE section size (2) must be a multiple of sh_entsize (4)
6 .section .foo,"aM",@progbits,4
7 .short 42