[flang] Support OPEN(..., FORM="BINARY") (#124657)
[llvm-project.git] / lld / test / COFF / export-imp.test
blobdb71ef74641639364f1b9bc74ff4733bc1c28811
1 ; REQUIRES: x86
3 ; RUN: llvm-lib -machine:amd64 -out:%t.imp.lib -def:%s
4 ; RUN: lld-link -machine:amd64 -out:%t.dll %t.imp.lib -dll -noentry -export:__imp_func,DATA -map
6 ; FileCheck %s < %t.imp.map
7 ; CHECK: 0001:00000098       __imp_func                 0000000180001098     export-imp-thunk.test.tmp.imp:imp.dll
9 LIBRARY imp.dll
10 EXPORTS
11         func