1// { dg-do assemble } 2 3// Testing overloading of function argument involving template template 4// parameters 5 6// Reported by Thomus Kunert <kunert@physik.tu-dresden.de> 7 8template<class A> 9class H{}; 10 11template <class T> 12void f( const T& ){} // #1 13 14template< template<class, class> class X, 15 class A, class B> 16void f( const X<A,B> & x ) // #2 17{} 18 19int main() 20{ 21 H<int> h; 22 f(h); // #3 23} 24