// PR c++/119378 template struct A { template struct B; }; template struct C { template template friend class A::B; }; template struct C;