From: Douglas Gregor Date: Wed, 20 Apr 2011 18:20:33 +0000 (+0000) Subject: Improve test case from prior commit ever so slightly X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cbec959961e35fc9f37d4b7226648716ad16ddf3;p=clang Improve test case from prior commit ever so slightly git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129866 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaObjCXX/propert-dot-error.mm b/test/SemaObjCXX/propert-dot-error.mm index aeb8f3068e..7a5feb42e5 100644 --- a/test/SemaObjCXX/propert-dot-error.mm +++ b/test/SemaObjCXX/propert-dot-error.mm @@ -47,5 +47,6 @@ void g(B *b) { - (void)method:(B *)b { // 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