summaryrefslogtreecommitdiffstats
path: root/media/webrtc/trunk/tools/gyp/test/mac/objc-arc/mm-file-no-arc.mm
diff options
context:
space:
mode:
Diffstat (limited to 'media/webrtc/trunk/tools/gyp/test/mac/objc-arc/mm-file-no-arc.mm')
-rw-r--r--media/webrtc/trunk/tools/gyp/test/mac/objc-arc/mm-file-no-arc.mm5
1 files changed, 5 insertions, 0 deletions
diff --git a/media/webrtc/trunk/tools/gyp/test/mac/objc-arc/mm-file-no-arc.mm b/media/webrtc/trunk/tools/gyp/test/mac/objc-arc/mm-file-no-arc.mm
new file mode 100644
index 000000000..0dac53949
--- /dev/null
+++ b/media/webrtc/trunk/tools/gyp/test/mac/objc-arc/mm-file-no-arc.mm
@@ -0,0 +1,5 @@
+#if __has_feature(objc_arc)
+#error "ObjC++ files without CLANG_ENABLE_OBJC_ARC should not be ARC'd!"
+#endif
+
+void mm_fun() {}