Index: ios/chrome/browser/snapshots/snapshots_util_unittest.mm |
diff --git a/ios/chrome/browser/snapshots/snapshots_util_unittest.mm b/ios/chrome/browser/snapshots/snapshots_util_unittest.mm |
index 2713f7cf7c74ec7542575b0c4e57180aca0332ca..910160d7fd927abe56e437f57f934236c583c0dd 100644 |
--- a/ios/chrome/browser/snapshots/snapshots_util_unittest.mm |
+++ b/ios/chrome/browser/snapshots/snapshots_util_unittest.mm |
@@ -13,6 +13,10 @@ |
#include "base/strings/sys_string_conversions.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
namespace { |
bool RegexMatchesOneSnapshotPath(NSString* regexString) { |