summaryrefslogtreecommitdiffstats
path: root/Tests/CompileDefinitions/compiletest_mixed_cxx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CompileDefinitions/compiletest_mixed_cxx.cpp')
-rw-r--r--Tests/CompileDefinitions/compiletest_mixed_cxx.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/Tests/CompileDefinitions/compiletest_mixed_cxx.cpp b/Tests/CompileDefinitions/compiletest_mixed_cxx.cpp
new file mode 100644
index 0000000..c686854
--- /dev/null
+++ b/Tests/CompileDefinitions/compiletest_mixed_cxx.cpp
@@ -0,0 +1,19 @@
+
+#ifndef LINK_CXX_DEFINE
+#error Expected LINK_CXX_DEFINE
+#endif
+#ifndef LINK_LANGUAGE_IS_CXX
+#error Expected LINK_LANGUAGE_IS_CXX
+#endif
+
+#ifdef LINK_C_DEFINE
+#error Unexpected LINK_C_DEFINE
+#endif
+#ifdef LINK_LANGUAGE_IS_C
+#error Unexpected LINK_LANGUAGE_IS_C
+#endif
+
+int main(int argc, char **argv)
+{
+ return 0;
+}