From cbec959961e35fc9f37d4b7226648716ad16ddf3 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Wed, 20 Apr 2011 18:20:33 +0000 Subject: [PATCH] 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 --- test/SemaObjCXX/propert-dot-error.mm | 1 + 1 file changed, 1 insertion(+) 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 -- 2.40.0