aboutsummaryrefslogblamecommitdiff
path: root/test/ELF/merge-string-empty.s
blob: 0b82ce700a2c4011fe1125316b7ca0d4f121ff28 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                       
// Ensure that a mergeable string with size 0 does not cause any issue.

// REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: ld.lld %t.o -o %t

.globl _start, s
.section .rodata.str1.1,"aMS",@progbits,1
s:
.text
_start:
	.quad s