llvm-project/lld/test/ELF/icf-different-output-sectio...

10 lines
212 B
ArmAsm
Raw Normal View History

# 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"
.byte 42
.section .bar,"ax"
.byte 42