summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-01-03 23:36:08 +0000
committerChris Lattner <sabre@nondot.org>2008-01-03 23:36:08 +0000
commit166ae81be196945936a000fef03426caaa3cea83 (patch)
treec30ff1728d959f4fab2f173be38a82b85924f337
parent874e024f106ecb7cb17b8f52ea075e5e580d949c (diff)
downloadbcm5719-llvm-166ae81be196945936a000fef03426caaa3cea83.tar.gz
bcm5719-llvm-166ae81be196945936a000fef03426caaa3cea83.zip
update for changes in diagnostic strings.
llvm-svn: 45559
-rw-r--r--clang/test/Sema/incompatible-protocol-qualified-types.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Sema/incompatible-protocol-qualified-types.m b/clang/test/Sema/incompatible-protocol-qualified-types.m
index 767a2424e04..417dcee2d18 100644
--- a/clang/test/Sema/incompatible-protocol-qualified-types.m
+++ b/clang/test/Sema/incompatible-protocol-qualified-types.m
@@ -22,14 +22,14 @@ INTF <MyProto1> * Func1(INTF <MyProto1, MyProto2> *p2)
INTF <MyProto1, MyProto2> * Func2(INTF <MyProto1> *p2)
{
Func(p2); // expected-warning {{incompatible pointer types passing 'INTF<MyProto1> *' to function expecting 'INTF<MyProto1,MyProto2> *}}
- return p2; // expected-warning {{incompatible pointer type returning 'INTF<MyProto1> *', expected 'INTF<MyProto1,MyProto2> *}}
+ return p2; // expected-warning {{incompatible pointer types returning 'INTF<MyProto1> *', expected 'INTF<MyProto1,MyProto2> *}}
}
INTF <MyProto1> * Func3(INTF <MyProto2> *p2)
{
- return p2; // expected-warning {{incompatible pointer type returning 'INTF<MyProto2> *', expected 'INTF<MyProto1> *}}
+ return p2; // expected-warning {{incompatible pointer types returning 'INTF<MyProto2> *', expected 'INTF<MyProto1> *}}
}
OpenPOWER on IntegriCloud