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