summaryrefslogtreecommitdiff
path: root/test/Parser/objc-foreach-syntax.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/objc-foreach-syntax.m')
-rw-r--r--test/Parser/objc-foreach-syntax.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/objc-foreach-syntax.m b/test/Parser/objc-foreach-syntax.m
index cc82725b17d76..5d83dc69fcd9c 100644
--- a/test/Parser/objc-foreach-syntax.m
+++ b/test/Parser/objc-foreach-syntax.m
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
struct __objcFastEnumerationState;
@implementation MyList // expected-warning {{cannot find interface declaration for 'MyList'}}