summaryrefslogtreecommitdiff
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 000000000..dd16d2bfa
--- /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; }