summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/XcodeProject/myfuncs.m
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/XcodeProject/myfuncs.m')
-rw-r--r--Tests/RunCMake/XcodeProject/myfuncs.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/XcodeProject/myfuncs.m b/Tests/RunCMake/XcodeProject/myfuncs.m
new file mode 100644
index 0000000..742ba8e
--- /dev/null
+++ b/Tests/RunCMake/XcodeProject/myfuncs.m
@@ -0,0 +1,3 @@
+#if defined(HAVE_OBJC_ARC) && ! __has_feature(objc_arc)
+#error THIS CODE MUST BE COMPILED WITH ARC ENABLED!
+#endif