summaryrefslogtreecommitdiffstats
path: root/tests/run-make/link-cfg/return1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/link-cfg/return1.c')
-rw-r--r--tests/run-make/link-cfg/return1.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/run-make/link-cfg/return1.c b/tests/run-make/link-cfg/return1.c
new file mode 100644
index 000000000..41c2809ad
--- /dev/null
+++ b/tests/run-make/link-cfg/return1.c
@@ -0,0 +1,6 @@
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int my_function() {
+ return 1;
+}