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