summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/protocol-test-2.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaObjC/protocol-test-2.m')
-rw-r--r--clang/test/SemaObjC/protocol-test-2.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaObjC/protocol-test-2.m b/clang/test/SemaObjC/protocol-test-2.m
index 1a7fc9ce3cc..e5fff2da630 100644
--- a/clang/test/SemaObjC/protocol-test-2.m
+++ b/clang/test/SemaObjC/protocol-test-2.m
@@ -15,10 +15,10 @@
@protocol p1 @end
-@protocol PROTO<p1>
+@protocol PROTO<p1> // expected-note {{previous definition is here}}
@end
-@protocol PROTO<p1> // expected-error {{duplicate protocol declaration of 'PROTO'}}
+@protocol PROTO<p1> // expected-error {{duplicate protocol definition of 'PROTO'}}
@end
@protocol PROTO3<p1, p1>
OpenPOWER on IntegriCloud