// RUN: %clang_cc1 -fsyntax-only -verify %s
// PR7944
#defineMACRO(x) xstructB{intf(){return0;}};structA{ B*b(){returnnew B;}};voidg(){
A a;MACRO(a.b->f());// expected-error{{reference to non-static member function must be called; did you mean to call it with no arguments?}}
}