[cfe-commits] r129866 - /cfe/trunk/test/SemaObjCXX/propert-dot-error.mm
Douglas Gregor
dgregor at apple.com
Wed Apr 20 11:20:33 PDT 2011
Author: dgregor
Date: Wed Apr 20 13:20:33 2011
New Revision: 129866
URL: http://llvm.org/viewvc/llvm-project?rev=129866&view=rev
Log:
Improve test case from prior commit ever so slightly
Modified:
cfe/trunk/test/SemaObjCXX/propert-dot-error.mm
Modified: cfe/trunk/test/SemaObjCXX/propert-dot-error.mm
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjCXX/propert-dot-error.mm?rev=129866&r1=129865&r2=129866&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjCXX/propert-dot-error.mm (original)
+++ cfe/trunk/test/SemaObjCXX/propert-dot-error.mm Wed Apr 20 13:20:33 2011
@@ -47,5 +47,6 @@
- (void)method:(B *)b {
// <rdar://problem/8985943>
b.operator+ = 17; // expected-error{{'operator+' is not a valid property name (accessing an object of type 'B *')}}
+ b->operator+ = 17; // expected-error{{'B' does not have a member named 'operator+'}}
}
@end
More information about the cfe-commits
mailing list