aboutsummaryrefslogtreecommitdiff
path: root/test/COFF/export32.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/COFF/export32.test')
-rw-r--r--test/COFF/export32.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/COFF/export32.test b/test/COFF/export32.test
index 83de18b11624..34cd1a73319e 100644
--- a/test/COFF/export32.test
+++ b/test/COFF/export32.test
@@ -57,6 +57,11 @@
# RUN: lld-link /out:%t.dll /dll %t.obj /def:%t.def
# RUN: llvm-objdump -p %t.dll | FileCheck -check-prefix=CHECK5 %s
+# RUN: echo "EXPORTS exportfn1 @ 3" > %t.def
+# RUN: echo "fn2=exportfn2 @ 2" >> %t.def
+# RUN: lld-link /out:%t.dll /dll %t.obj /def:%t.def
+# RUN: llvm-objdump -p %t.dll | FileCheck -check-prefix=CHECK5 %s
+
# CHECK5: Export Table:
# CHECK5: DLL name: export32.test.tmp.dll
# CHECK5: Ordinal RVA Name