[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / COFF / icf-executable.s
blob461439d72c1fc71d8e266b489cd3eee9cdea5e87
1 # REQUIRES: x86
2 # RUN: llvm-mc -triple=x86_64-windows-msvc %s -filetype=obj -o %t.obj
3 # RUN: lld-link -entry:main %t.obj -out:%t.exe -verbose 2>&1 | FileCheck %s
5 # CHECK: Selected internal
6 # CHECK: Removed f2
8 .section .text,"xr",one_only,internal
9 internal:
10 .globl main
11 main:
12 call f2
13 ret
15 .section .text,"xr",one_only,f2
16 .globl f2
17 f2:
18 call main
19 ret