From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- third_party/python/gyp/test/mac/objc-arc/m-file-no-arc.m | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 third_party/python/gyp/test/mac/objc-arc/m-file-no-arc.m (limited to 'third_party/python/gyp/test/mac/objc-arc/m-file-no-arc.m') diff --git a/third_party/python/gyp/test/mac/objc-arc/m-file-no-arc.m b/third_party/python/gyp/test/mac/objc-arc/m-file-no-arc.m new file mode 100644 index 0000000000..4f067abb67 --- /dev/null +++ b/third_party/python/gyp/test/mac/objc-arc/m-file-no-arc.m @@ -0,0 +1,9 @@ +#if __has_feature(objc_arc) +#error "ObjC files without CLANG_ENABLE_OBJC_ARC should not be ARC'd!" +#endif + +#if __has_feature(objc_arc_weak) +#error "Without CLANG_ENABLE_OBJC_WEAK, weak references should be disabled." +#endif + +void m_fun() {} -- cgit v1.2.3