blob: e8b2bbb298530a2b0bd8273bdd44944282bf0033 [file] [log] [blame]
// PR c++/18445
struct a
{
int what();
};
void g(void*);
template<class T>
void f()
{
a ex;
g(ex.what); // { dg-error "" }
}