1 2 3 4 5 6 7 8 9 10 11 12
// Test that we treat unions like other classes in arg-dep lookup. union U { friend void f (U); }; int main() { U u; f(u); }