Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / tools / llvm-dlltool / coff-noname.def
blob27e60efbd2d8027db642ca19cd621362ac902336
1 ; RUN: llvm-dlltool -k -m i386 -d %s -l %t.a
2 ; RUN: llvm-readobj %t.a | FileCheck %s
3 ; RUN: llvm-dlltool --kill-at --machine i386 --input-def %s --output-lib %t.a
4 ; RUN: llvm-readobj %t.a | FileCheck %s
6 LIBRARY test.dll
7 EXPORTS
8 ByOrdinalFunction @ 1 NONAME
9 ByNameFunction
11 ; CHECK: Name type: ordinal
12 ; CHECK-NEXT: Symbol: __imp__ByOrdinalFunction
13 ; CHECK-NEXT: Symbol: _ByOrdinalFunction
14 ; CHECK: Name type: noprefix
15 ; CHECK-NEXT: Symbol: __imp__ByNameFunction
16 ; CHECK-NEXT: Symbol: _ByNameFunction