// RUN: %clang_cc1 -verify -frecovery-ast -frecovery-ast-type %s
template<class T>structPtr{ T *operator->() const;};structABC{voidrun();};Ptr<ABC>call(int);// expected-note {{candidate function not viable}}
voidtest(){call()->run(undef);// expected-error {{no matching function for call to 'call'}} \
expected-error {{use of undeclared identifier}}
}