Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / COFF / imports-ordinal-only.s
blobb55b60d7ef0c278a54aa6efa809720b3ff47583b
1 # REQUIRES: x86
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
8 .text
9 .global _main
10 _main:
11 call _ByOrdinalFunction
12 ret
14 # CHECK: The Import Tables:
15 # CHECK: DLL Name: test.dll
16 # CHECK-NEXT: Hint/Ord Name
17 # CHECK-NEXT: 1
18 # CHECK-EMPTY: