3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1
4 # RUN: ld.lld %t1 -o /dev/null --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s
6 # Check that ICF does not merge 2 sections which relocations
7 # refer to symbols that live in sections of the different types
8 # (regular input section and mergeable input sections in this case).
17 .section .rodata.str,"aMS",@progbits,1
22 .section .text.foo, "ax"
25 .section .text.bar, "ax"