summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/protocol-archane.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaObjC/protocol-archane.m')
-rw-r--r--clang/test/SemaObjC/protocol-archane.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaObjC/protocol-archane.m b/clang/test/SemaObjC/protocol-archane.m
index 19736cdf505..67e1c231f68 100644
--- a/clang/test/SemaObjC/protocol-archane.m
+++ b/clang/test/SemaObjC/protocol-archane.m
@@ -6,7 +6,7 @@
@end
void foo(id x) {
- bar((short<SomeProtocol>)x); // expected-error {{expected ')'}} expected-error {{to match this '('}}
+ bar((short<SomeProtocol>)x); // expected-error {{expected ')'}} expected-note {{to match this '('}}
bar((<SomeProtocol>)x); // expected-warning {{protocol qualifiers without 'id' is archaic}}
[(<SomeProtocol>)x bar]; // expected-warning {{protocol qualifiers without 'id' is archaic}}
OpenPOWER on IntegriCloud