summaryrefslogtreecommitdiff
path: root/lld/test/ELF/mergeable-errors.s
blob: b155d581046a887135ff85d14161e9d47c71d9ff (plain)
1
2
3
4
5
6
7
8
9
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
# RUN: ld.lld %t.o -o /dev/null --noinhibit-exec

# CHECK: error: {{.*}}.o:(.mergeable): string is not null terminated

.section .mergeable,"MS",@progbits,2
  .short 0x1122