1; RUN: llvm-dlltool -k -m i386 --input-def %s --output-lib %t.a
2; RUN: llvm-readobj %t.a | FileCheck %s
3
4LIBRARY test.dll
5EXPORTS
6ByOrdinalFunction @ 1 NONAME
7ByNameFunction
8
9; CHECK:      Name type: ordinal
10; CHECK-NEXT: Symbol: __imp__ByOrdinalFunction
11; CHECK-NEXT: Symbol: _ByOrdinalFunction
12; CHECK:      Name type: noprefix
13; CHECK-NEXT: Symbol: __imp__ByNameFunction
14; CHECK-NEXT: Symbol: _ByNameFunction
15