19 lines · plain
1# REQUIRES: x862#3# RUN: lld-link -machine:x86 -def:%p/Inputs/ordinal-only-implib.def -implib:%t-implib.a4# RUN: llvm-mc -triple=i386-pc-win32 %s -filetype=obj -o %t.obj5# RUN: lld-link -out:%t.exe -entry:main -subsystem:console -safeseh:no -debug %t.obj %t-implib.a6# RUN: llvm-objdump --private-headers %t.exe | FileCheck --match-full-lines %s7 8.text9.global _main10_main:11call _ByOrdinalFunction12ret13 14# CHECK: The Import Tables:15# CHECK: DLL Name: test.dll16# CHECK-NEXT: Hint/Ord Name17# CHECK-NEXT: 118# CHECK-EMPTY:19