summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/class-message-protocol-lookup.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/class-message-protocol-lookup.m')
-rw-r--r--test/SemaObjC/class-message-protocol-lookup.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/class-message-protocol-lookup.m b/test/SemaObjC/class-message-protocol-lookup.m
index ae64ea8..37df7a6 100644
--- a/test/SemaObjC/class-message-protocol-lookup.m
+++ b/test/SemaObjC/class-message-protocol-lookup.m
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
// rdar://9224670
@interface RandomObject {
@@ -13,7 +13,7 @@
@protocol Test2Protocol
+ (id)alloc;
-- (id)alloc2; // expected-note 2 {{method declared here}}
+- (id)alloc2; // expected-note 2 {{method 'alloc2' declared here}}
@end
@implementation RandomObject
OpenPOWER on IntegriCloud