// { dg-do compile }// Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>// PR c++/9602: Inline friend/pure virtual tree data sharing in// class template.template<typenameT>structX{voidfoo(X);friendvoidbar(){}};template<typenameT>voidX<T>::foo(Xx){}templatestructX<int>;