1# REQUIRES: x86 2# 3# RUN: lld-link -machine:x86 -def:%p/Inputs/ordinal-only-implib.def -implib:%t-implib.a 4# RUN: llvm-mc -triple=i386-pc-win32 %s -filetype=obj -o %t.obj 5# RUN: lld-link -out:%t.exe -entry:main -subsystem:console -safeseh:no -debug %t.obj %t-implib.a 6# RUN: llvm-objdump --private-headers %t.exe | FileCheck --match-full-lines %s 7 8.text 9.global _main 10_main: 11call _ByOrdinalFunction 12ret 13 14# CHECK: The Import Tables: 15# CHECK: DLL Name: test.dll 16# CHECK-NEXT: Hint/Ord Name 17# CHECK-NEXT: 1 18# CHECK-EMPTY: 19