summaryrefslogtreecommitdiff
path: root/test/COFF/export32.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/COFF/export32.test')
-rw-r--r--test/COFF/export32.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/COFF/export32.test b/test/COFF/export32.test
index 79f5daf62dbf..83de18b11624 100644
--- a/test/COFF/export32.test
+++ b/test/COFF/export32.test
@@ -73,6 +73,16 @@
# CHECK6: duplicate /export option: _exportfn2
# CHECK6-NOT: duplicate /export option: _exportfn1
+# RUN: lld-link /out:%t.dll /dll %t.obj /export:foo=mangled
+# RUN: llvm-objdump -p %t.dll | FileCheck -check-prefix=CHECK7 %s
+
+# CHECK7: Export Table:
+# CHECK7: DLL name: export32.test.tmp.dll
+# CHECK7: Ordinal RVA Name
+# CHECK7-NEXT: 0 0
+# CHECK7-NEXT: 1 0
+# CHECK7-NEXT: 2 0x1010 foo
+
--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_I386