Index: ios/chrome/browser/ui/keyboard/UIKeyCommand+ChromeTest.mm |
diff --git a/ios/chrome/browser/ui/keyboard/UIKeyCommand+ChromeTest.mm b/ios/chrome/browser/ui/keyboard/UIKeyCommand+ChromeTest.mm |
index 4daf6a22ff12ff08ecb032b3e728a53155ff132b..311e425c7d88e42371ef60e2b40bd1ccd9c3161e 100644 |
--- a/ios/chrome/browser/ui/keyboard/UIKeyCommand+ChromeTest.mm |
+++ b/ios/chrome/browser/ui/keyboard/UIKeyCommand+ChromeTest.mm |
@@ -7,6 +7,10 @@ |
#include "base/mac/scoped_nsobject.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
namespace { |
// Tests that UIApplication correctly calls the keyboard command action block |