[ELF] Make SyntheticSection parameter order match InputSection
[llvm-project.git] / lld / test / ELF / icf17.s
blobcab5c12d214e5956a9001f1bd2bdd3bd15f58176
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1
3 # RUN: ld.lld %t1 -o /dev/null --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s
5 # CHECK-NOT: selected
7 .section .text
8 .globl _start
9 _start:
10 ret
12 .section .aaa, "ax",%progbits,unique,1
13 .quad _start
15 .section .aaa, "axS",%progbits,unique,2
16 .quad _start