summaryrefslogtreecommitdiff
path: root/Tests/CxxOnly/libcxx2.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CxxOnly/libcxx2.h')
-rw-r--r--Tests/CxxOnly/libcxx2.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/Tests/CxxOnly/libcxx2.h b/Tests/CxxOnly/libcxx2.h
new file mode 100644
index 000000000..5dd84f6c2
--- /dev/null
+++ b/Tests/CxxOnly/libcxx2.h
@@ -0,0 +1,15 @@
+#ifdef _WIN32
+# ifdef testcxx2_EXPORTS
+# define CM_TEST_LIB_EXPORT __declspec( dllexport )
+# else
+# define CM_TEST_LIB_EXPORT __declspec( dllimport )
+# endif
+#else
+# define CM_TEST_LIB_EXPORT
+#endif
+
+class CM_TEST_LIB_EXPORT LibCxx2Class
+{
+public:
+ static float Method();
+};