3 # RUN: llvm-mc -triple=i686-windows-gnu %s -filetype=obj -o %t.obj
5 # RUN: lld-link -lldmingw -dll -out:%t.dll -entry:main %t.obj -implib:%t.lib
6 # RUN: llvm-readobj %t.lib | FileCheck %s
8 # CHECK: Symbol: __imp___underscoredFunc
9 # CHECK: Symbol: __underscoredFunc
10 # CHECK: Symbol: __imp__func
11 # CHECK: Symbol: _func
15 .global __underscoredFunc
24 .ascii "-export:func -export:_underscoredFunc"