Debian Codegraph @

gcc/testsuite/g++.dg/lookup/koenig11.C

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 }