blob: 8e545a253c59371edc0a4b3509cee61df4d4c17c [file] [log] [blame]
// PR c++/53491
struct M
{
void pop();
};
void foo()
{
int result = 0;
M m;
result += m.pop(); // { dg-error "" }
}