2 # RUN: llvm-mc -triple x86_64-windows-msvc %s -o %t.obj -filetype=obj
3 # RUN: lld-link %t.obj -out:%t.dll -dll -nodefaultlib -noentry
4 # RUN: llvm-nm %t.lib | FileCheck %s
6 # CHECK: export-weak-alias.s.tmp.dll:
7 # CHECK: 00000000 T __imp_foo_dll{{$}}
8 # CHECK: 00000000 T foo_dll{{$}}
22 .globl foo_def # -- Begin function foo_def
29 .section .drectve,"yn"
30 .ascii " /alternatename:foo=foo_def"
31 .ascii " /export:foo_dll=foo"