summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/icf-c-identifier.s
blob: cd11b98b57a6cc0f941f90ce131e4bd8e9fa6675 (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
# RUN: ld.lld %t -o /dev/null --icf=all --print-icf-sections | count 0

.section foo,"ax",@progbits,unique,0
.byte 42

.section foo,"ax",@progbits,unique,1
.byte 42
OpenPOWER on IntegriCloud