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