Index: ios/chrome/browser/payments/payment_request_view_controller_unittest.mm |
diff --git a/ios/chrome/browser/payments/payment_request_view_controller_unittest.mm b/ios/chrome/browser/payments/payment_request_view_controller_unittest.mm |
index 129cb29fd4d2e9b9f6ddd9df4a347f1a9b19afd2..490e4d3184d7feb5134e7a4ddc04bcb2b54de5b2 100644 |
--- a/ios/chrome/browser/payments/payment_request_view_controller_unittest.mm |
+++ b/ios/chrome/browser/payments/payment_request_view_controller_unittest.mm |
@@ -24,6 +24,10 @@ |
#include "ios/web/public/payments/payment_request.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
class PaymentRequestViewControllerTest : public CollectionViewControllerTest { |
protected: |
CollectionViewController* NewController() override NS_RETURNS_RETAINED { |