☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
friend21.C
☽
☼
gcc/testsuite/g++.dg/lookup/friend21.C
code
plain
raw
1
// Unhiding a friend erroneously mutated a binding
2
3
class X
4
{
5
friend void frob (int, int);
6
};
7
8
void frob (int);
9
void frob (int, int);
10
11
void foo ()
12
{
13
frob (1); // Only saw unhidden friend
14
}