3 # RUN: llvm-mc -filetype=obj -triple=x86_64-mingw32 -o %t.o %s
4 # RUN: lld-link -lldmingw -entry:main -out:%t.exe %t.o %S/Inputs/alias-implib.lib -verbose 2>&1 | FileCheck %s
6 # Check that the undefined (weak) alias symbol (with an existing lazy
7 # __imp_alias) doesn't trigger trying to load __imp_alias for autoimport,
8 # when the weak alias target actually does exist.
10 # CHECK-NOT: Loading lazy{{.*}}for automatic import
18 # alias-implib.lib was created with "llvm-dlltool -m i386:x86-64
19 # -l alias-implib.lib -d alias-implib.def" with this def snippet: