[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / COFF / weak-lazy.s
blob2812ba7af8b5f85180e937b87a1615124ee1d675
1 # REQUIRES: x86
3 # RUN: llvm-mc -filetype=obj -triple=i686-windows %s -o %t.obj
4 # RUN: llvm-lib -machine:x86 -out:%t-func.lib %t.obj
6 # -export:func creates a weak alias to a lazy symbol. Make sure we can handle that when processing -export:func2=func.
7 # RUN: lld-link -dll -noentry -machine:x86 -out:%t.dll %t-func.lib -export:func -export:func2=func
9 .text
10 .def @feat.00;
11 .scl 3;
12 .type 0;
13 .endef
14 .globl @feat.00
15 .set @feat.00, 1
16 .globl _func@0
17 _func@0:
18 retl