summaryrefslogtreecommitdiff
path: root/Tests/Framework/foo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Framework/foo.cxx')
-rw-r--r--Tests/Framework/foo.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/Framework/foo.cxx b/Tests/Framework/foo.cxx
new file mode 100644
index 000000000..b249ce348
--- /dev/null
+++ b/Tests/Framework/foo.cxx
@@ -0,0 +1,10 @@
+#include <stdio.h>
+#if defined(_WIN32) && defined(foo_EXPORTS)
+# define CM_TEST_LIB_EXPORT __declspec( dllexport )
+#else
+# define CM_TEST_LIB_EXPORT
+#endif
+CM_TEST_LIB_EXPORT void foo()
+{
+ printf("foo\n");
+}