Index: ios/chrome/common/ns_regular_expression_unittest.mm |
diff --git a/ios/chrome/common/ns_regular_expression_unittest.mm b/ios/chrome/common/ns_regular_expression_unittest.mm |
index 315799af58171f1479ae1ce168d011273114f33a..d19f476b3df0b32daed0b641d945caf29a7a575b 100644 |
--- a/ios/chrome/common/ns_regular_expression_unittest.mm |
+++ b/ios/chrome/common/ns_regular_expression_unittest.mm |
@@ -6,6 +6,10 @@ |
#import "testing/gtest_mac.h" |
#include "testing/platform_test.h" |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
// Chromium code relies on NSRegularExpression class to match regular |
// expressions. Any subtle changes in behavior can lead to hard to diagnose |
// problems. This files tests how NSRegularExpression handles various regular |