summaryrefslogtreecommitdiffstats
path: root/test cases/cmake/24 mixing languages/subprojects/cmTest/cmTest.m
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/cmake/24 mixing languages/subprojects/cmTest/cmTest.m')
-rw-r--r--test cases/cmake/24 mixing languages/subprojects/cmTest/cmTest.m7
1 files changed, 7 insertions, 0 deletions
diff --git a/test cases/cmake/24 mixing languages/subprojects/cmTest/cmTest.m b/test cases/cmake/24 mixing languages/subprojects/cmTest/cmTest.m
new file mode 100644
index 0000000..16ec805
--- /dev/null
+++ b/test cases/cmake/24 mixing languages/subprojects/cmTest/cmTest.m
@@ -0,0 +1,7 @@
+#if SOME_MAGIC_DEFINE != 42
+#error "SOME_MAGIC_DEFINE != 42"
+#endif
+
+int foo(int x) {
+ return 42 - x;
+}