3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
4 # RUN: ld.lld %t -o /dev/null --icf=all --print-icf-sections | FileCheck %s
6 # RUN: llvm-mc -filetype=obj -triple=x86_64 --crel %s -o %t
7 # RUN: ld.lld %t -o /dev/null --icf=all --print-icf-sections | FileCheck %s
9 # CHECK: selected section {{.*}}:(.text.f1)
10 # CHECK: removing identical section {{.*}}:(.text.f2)
16 .section .text.f1, "ax"
22 .section .text.f2, "ax"