blob: ed02d36d03d4f368a8742e600ce83828a202b4f1 [file] [log] [blame]
// Unhiding a friend erroneously mutated a binding
class X
{
friend void frob (int, int);
};
void frob (int);
void frob (int, int);
void foo ()
{
frob (1); // Only saw unhidden friend
}