3 # RUN: llvm-mc -triple=x86_64-windows-gnu %p/Inputs/gnu-implib-head.s -filetype=obj -o %t-dabcdh.o
4 # RUN: llvm-mc -triple=x86_64-windows-gnu %p/Inputs/gnu-implib-func.s -filetype=obj -o %t-dabcds00000.o
5 # RUN: llvm-mc -triple=x86_64-windows-gnu %p/Inputs/gnu-implib-tail.s -filetype=obj -o %t-dabcdt.o
6 # RUN: rm -f %t-implib.a
7 # RUN: llvm-ar rcs %t-implib.a %t-dabcdh.o %t-dabcds00000.o %t-dabcdt.o
8 # RUN: lld-link -lldmingw -dll -out:%t.dll -entry:main -subsystem:console \
9 # RUN: %p/Inputs/hello64.obj %p/Inputs/std64.lib %t-implib.a -include:func
10 # RUN: llvm-readobj --coff-exports %t.dll | FileCheck -check-prefix=EXPORT %s
12 # Check that only the single normal symbol was exported, none of the symbols
13 # from the import library.
16 EXPORT-NEXT
: Ordinal
: 0
21 EXPORT-NEXT
: Ordinal
: 1
22 EXPORT-NEXT
: Name
: main
23 EXPORT-NEXT
: RVA
: 0x1010