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 
main()8 int main()
9 {
10   U u;
11   f(u);
12 }
13