1 2 3 4 5 6 7 8 9 10
struct A { static void g(int); }; struct S { static int i; friend void f(int = i); friend void A::g(int = i); };