From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- third_party/python/gyp/test/mac/objc-arc/m-file.m | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 third_party/python/gyp/test/mac/objc-arc/m-file.m (limited to 'third_party/python/gyp/test/mac/objc-arc/m-file.m') diff --git a/third_party/python/gyp/test/mac/objc-arc/m-file.m b/third_party/python/gyp/test/mac/objc-arc/m-file.m new file mode 100644 index 0000000000..8234ba582d --- /dev/null +++ b/third_party/python/gyp/test/mac/objc-arc/m-file.m @@ -0,0 +1,9 @@ +#if !__has_feature(objc_arc) +#error "ObjC files with CLANG_ENABLE_OBJC_ARC should be ARC'd!" +#endif + +#if !__has_feature(objc_arc_weak) +#error "Weak references should always be enabled for ARC." +#endif + +void m_fun() {} -- cgit v1.2.3