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.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CompileDefinitions/compiletest_mixed_cxx.cpp b/Tests/CompileDefinitions/compiletest_mixed_cxx.cpp
index c686854..ae6befc 100644
--- a/Tests/CompileDefinitions/compiletest_mixed_cxx.cpp
+++ b/Tests/CompileDefinitions/compiletest_mixed_cxx.cpp
@@ -13,6 +13,10 @@
#error Unexpected LINK_LANGUAGE_IS_C
#endif
+#ifndef C_EXECUTABLE_LINK_LANGUAGE_IS_C
+#error Expected C_EXECUTABLE_LINK_LANGUAGE_IS_C define
+#endif
+
int main(int argc, char **argv)
{
return 0;