summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/no-protocol-option-tests.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/no-protocol-option-tests.m')
-rw-r--r--test/SemaObjC/no-protocol-option-tests.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/no-protocol-option-tests.m b/test/SemaObjC/no-protocol-option-tests.m
index 5d2da0a..dbd2a14 100644
--- a/test/SemaObjC/no-protocol-option-tests.m
+++ b/test/SemaObjC/no-protocol-option-tests.m
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -Wno-protocol -verify %s
+// RUN: %clang_cc1 -fsyntax-only -Wno-protocol -verify -Wno-objc-root-class %s
// rdar: // 7056600
@protocol P
@@ -17,7 +17,7 @@
// Test2
@interface super - PMeth; @end
@interface J : super <P>
-- PMeth; // expected-note {{ method definition for 'PMeth' not found}}
+- PMeth; // expected-note {{method definition for 'PMeth' not found}}
@end
@implementation J @end // expected-warning {{incomplete implementation}}
OpenPOWER on IntegriCloud