aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/cmake/24 mixing languages/subprojects/cmTest/cmTest.m
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/cmake/24 mixing languages/subprojects/cmTest/cmTest.m')
-rw-r--r--meson/test cases/cmake/24 mixing languages/subprojects/cmTest/cmTest.m7
1 files changed, 7 insertions, 0 deletions
diff --git a/meson/test cases/cmake/24 mixing languages/subprojects/cmTest/cmTest.m b/meson/test cases/cmake/24 mixing languages/subprojects/cmTest/cmTest.m
new file mode 100644
index 000000000..16ec8056d
--- /dev/null
+++ b/meson/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;
+}