aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/invalid/merge-invalid-size.s
blob: b16889a538a5cc1a5d779b275665bb2569f3260d (plain) (blame)
1
2
3
4
5
6
7
// REQUIRES: x86
// RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
// RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
// CHECK: SHF_MERGE section size must be a multiple of sh_entsize

.section .foo,"aM",@progbits,4
.short 42