summaryrefslogtreecommitdiff
path: root/deps/gyp/test/mac/objc-arc/c-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/mac/objc-arc/c-file.c')
-rw-r--r--deps/gyp/test/mac/objc-arc/c-file.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/gyp/test/mac/objc-arc/c-file.c b/deps/gyp/test/mac/objc-arc/c-file.c
new file mode 100644
index 0000000000..653613206e
--- /dev/null
+++ b/deps/gyp/test/mac/objc-arc/c-file.c
@@ -0,0 +1,6 @@
+#if __has_feature(objc_arc)
+#error "C files shouldn't be ARC'd!"
+#endif
+
+void c_fun() {}
+