1// REQUIRES: x86
2// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3// RUN: not ld.lld %t.o -o %t.so -shared 2>&1 | FileCheck %s
4
5        .section	.rodata.str1.1,"aMS",@progbits,1
6	.asciz	"abc"
7
8        .data
9        .long .rodata.str1.1 + 4
10
11// CHECK: merge-string-error.s.tmp.o:(.rodata.str1.1): entry is past the end of the section
12