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