1; RUN: llvm-dlltool -m i386:x86-64 --input-def %s --output-lib %t.a
2; RUN: llvm-readobj --coff-exports %t.a | FileCheck %s
3; RUN: llvm-dlltool -m arm64 --input-def %s --output-lib %t.a
4; RUN: llvm-readobj --coff-exports %t.a | FileCheck %s
5
6LIBRARY test.dll
7EXPORTS
8TestFunction1
9TestFunction2;
10TestFunction3 ; This is a comment
11
12; CHECK: File: test.dll
13; CHECK: Format: COFF-import-file
14; CHECK: Type: code
15; CHECK:      Name type: name
16; CHECK-NEXT: Symbol: __imp_TestFunction1
17; CHECK-NEXT: Symbol: TestFunction1
18; CHECK:      Name type: name
19; CHECK-NEXT: Symbol: __imp_TestFunction2{{$}}
20; CHECK-NEXT: Symbol: TestFunction2{{$}}
21; CHECK:      Name type: name
22; CHECK-NEXT: Symbol: __imp_TestFunction3{{$}}
23; CHECK-NEXT: Symbol: TestFunction3{{$}}
24