blob: 89453f9f10c45f953ca0d9744d7eb3f7ff3222b5 [file] [log] [blame]
// Build don't link:
// GROUPS passed operators
struct A {
int x;
};
int operator()(A x,float y) { // MUST be a member function// ERROR - .*
return 1;
}
int main() {
A x;
x(1.0); // ERROR - no match for call
}