Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
friend21.C
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
}