[cfe-commits] r45559 - /cfe/trunk/test/Sema/incompatible-protocol-qualified-types.m
Chris Lattner
sabre at nondot.org
Thu Jan 3 15:36:10 PST 2008
Author: lattner
Date: Thu Jan 3 17:36:08 2008
New Revision: 45559
URL: http://llvm.org/viewvc/llvm-project?rev=45559&view=rev
Log:
update for changes in diagnostic strings.
Modified:
cfe/trunk/test/Sema/incompatible-protocol-qualified-types.m
Modified: cfe/trunk/test/Sema/incompatible-protocol-qualified-types.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/incompatible-protocol-qualified-types.m?rev=45559&r1=45558&r2=45559&view=diff
==============================================================================
--- cfe/trunk/test/Sema/incompatible-protocol-qualified-types.m (original)
+++ cfe/trunk/test/Sema/incompatible-protocol-qualified-types.m Thu Jan 3 17:36:08 2008
@@ -22,14 +22,14 @@
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> *}}
}
More information about the cfe-commits
mailing list