summaryrefslogtreecommitdiff
path: root/test/COFF/export.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/COFF/export.test')
-rw-r--r--test/COFF/export.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/COFF/export.test b/test/COFF/export.test
index 174f4ac55d9d6..a00a29c13d4c0 100644
--- a/test/COFF/export.test
+++ b/test/COFF/export.test
@@ -86,6 +86,10 @@ SYMTAB: exportfn3 in export.test.tmp.DLL
# RUN: lld-link /out:%t.dll /dll %t.obj /export:foo=kernel32.foobar
# RUN: llvm-objdump -p %t.dll | FileCheck -check-prefix=FORWARDER %s
+# RUN: echo "EXPORTS foo=kernel32.foobar" > %t.def
+# RUN: lld-link /out:%t.dll /dll %t.obj /def:%t.def
+# RUN: llvm-objdump -p %t.dll | FileCheck -check-prefix=FORWARDER %s
+
FORWARDER: Export Table:
FORWARDER: DLL name: export.test.tmp.dll
FORWARDER: Ordinal base: 0