summaryrefslogtreecommitdiff
path: root/Tests/LibName/foo.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LibName/foo.c')
-rw-r--r--Tests/LibName/foo.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/LibName/foo.c b/Tests/LibName/foo.c
new file mode 100644
index 000000000..a68970405
--- /dev/null
+++ b/Tests/LibName/foo.c
@@ -0,0 +1,11 @@
+#ifdef _WIN32
+__declspec(dllimport)
+#endif
+extern void foo();
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+ void bar()
+{
+ foo();
+}