OSDN Git Service

Pizza-lize :-)
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / lookup / koenig11.C
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 }