Index: ios/chrome/test/earl_grey/smoke_egtest.mm |
diff --git a/ios/chrome/test/earl_grey/smoke_egtest.mm b/ios/chrome/test/earl_grey/smoke_egtest.mm |
index 006cd0f9b9562f93b1c1a27ab362a804d8c01bf1..33a3e8a3e00ed2f582b4554a7602de364b1c7c3d 100644 |
--- a/ios/chrome/test/earl_grey/smoke_egtest.mm |
+++ b/ios/chrome/test/earl_grey/smoke_egtest.mm |
@@ -11,6 +11,10 @@ |
#import "ios/chrome/test/earl_grey/chrome_matchers.h" |
#import "ios/chrome/test/earl_grey/chrome_test_case.h" |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
// Test case to verify that EarlGrey tests can be launched and perform basic UI |
// interactions. |
@interface SmokeTestCase : ChromeTestCase |