summaryrefslogtreecommitdiffstats
path: root/Tests/CxxOnly/testCxxModule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CxxOnly/testCxxModule.cxx')
-rw-r--r--Tests/CxxOnly/testCxxModule.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/CxxOnly/testCxxModule.cxx b/Tests/CxxOnly/testCxxModule.cxx
new file mode 100644
index 0000000..dd16d2b
--- /dev/null
+++ b/Tests/CxxOnly/testCxxModule.cxx
@@ -0,0 +1,6 @@
+#ifdef _WIN32
+# define TEST_EXPORT __declspec(dllexport)
+#else
+# define TEST_EXPORT
+#endif
+TEST_EXPORT int testCxxModule(void) { return 0; }