blob: 121c106ad18ef4598088f1163a59ccbec33a637c [file] [log] [blame]
// PR c++/27547
// { dg-do compile }
int operator=(int); // { dg-error "5:.int operator=\\(int\\). must be a non-static member function" }
void foo()
{
operator=(0); // { dg-error "not defined" }
}