summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/mac/objc-arc/cc-file.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/gyp/test/mac/objc-arc/cc-file.cc')
-rw-r--r--third_party/python/gyp/test/mac/objc-arc/cc-file.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/python/gyp/test/mac/objc-arc/cc-file.cc b/third_party/python/gyp/test/mac/objc-arc/cc-file.cc
new file mode 100644
index 0000000000..70deb60b9a
--- /dev/null
+++ b/third_party/python/gyp/test/mac/objc-arc/cc-file.cc
@@ -0,0 +1,5 @@
+#if __has_feature(objc_arc) || __has_feature(objc_arc_weak)
+#error "C++ files shouldn't be ARC'd!"
+#endif
+
+void cc_fun() {}