summaryrefslogtreecommitdiffstats
path: root/test/DllTool/coff-exports.def
blob: 0226886a523cdc9c691e76181e18e9a681f0a442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llvm-dlltool -m i386:x86-64 --input-def %s --output-lib %t.a
; RUN: llvm-readobj -coff-exports %t.a | FileCheck %s

LIBRARY test.dll
EXPORTS
TestFunction

; CHECK: File: test.dll
; CHECK: Format: COFF-import-file
; CHECK: Type: code
; CHECK: Name type: name
; CHECK: Symbol: __imp_TestFunction
; CHECK: Symbol: TestFunction