☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
koenig11.C
☽
☼
gcc/testsuite/g++.dg/lookup/koenig11.C
code
plain
raw
1
// Test that we treat unions like other classes in arg-dep lookup.
2
3
union U
4
{
5
friend void f (U);
6
};
7
8
int main()
9
{
10
U u;
11
f(u);
12
}