summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-pe/direct_dll.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-pe/direct_dll.c')
-rw-r--r--ld/testsuite/ld-pe/direct_dll.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-pe/direct_dll.c b/ld/testsuite/ld-pe/direct_dll.c
new file mode 100644
index 0000000000000..9863d1a2294aa
--- /dev/null
+++ b/ld/testsuite/ld-pe/direct_dll.c
@@ -0,0 +1,5 @@
+__declspec(dllexport) int
+dll_func (void)
+{
+ return 10;
+}