[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / COFF / symtab-gc.s
blob00098c67928a485d30f0b52e717c53e98ef7ef41
1 # REQUIRES: x86
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-windows-msvc -o %tobject.obj %S/Inputs/object.s
4 # RUN: lld-link -dll -entry:f -out:%t.dll -implib:%t.lib %tobject.obj
5 # RUN: llvm-mc -filetype=obj -triple=x86_64-windows-msvc -o %tmain.obj %s
6 # RUN: lld-link -entry:main -out:%t.exe -opt:ref -debug:dwarf %tmain.obj %t.lib
7 # RUN: llvm-readobj --coff-imports %t.exe | FileCheck %s
9 # CHECK-NOT: Symbol: f
11 .def main;
12 .scl 2;
13 .type 32;
14 .endef
15 .section .text,"xr",one_only,main
16 .globl main
17 main:
18 retq
20 .def stripped;
21 .scl 3;
22 .type 32;
23 .endef
24 .section .text,"xr",one_only,stripped
25 stripped:
26 callq __imp_f
27 retq