summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/class-conforming-protocol-1.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaObjC/class-conforming-protocol-1.m')
-rw-r--r--clang/test/SemaObjC/class-conforming-protocol-1.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaObjC/class-conforming-protocol-1.m b/clang/test/SemaObjC/class-conforming-protocol-1.m
index 6afee0d3d4d..00f3204c628 100644
--- a/clang/test/SemaObjC/class-conforming-protocol-1.m
+++ b/clang/test/SemaObjC/class-conforming-protocol-1.m
@@ -5,11 +5,11 @@
@protocol P3 @end
@interface INTF
-- (INTF*) METH1; // expected-error {{previous declaration is here}}
+- (INTF*) METH1; // expected-note {{previous declaration is here}}
- (INTF<P1>*) METH1; // expected-error {{duplicate declaration of method 'METH1'}}
- (INTF<P1,P2>*) METH2;
-- (INTF<P2,P1>*) METH2; // expected-error {{previous declaration is here}}
+- (INTF<P2,P1>*) METH2; // expected-note {{previous declaration is here}}
- (INTF<P2,P1,P3>*) METH2; // expected-error {{duplicate declaration of method 'METH2'}}
- (INTF<P2,P1,P3>*) METH3;
OpenPOWER on IntegriCloud