URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [ttp55.C] - Rev 839
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// Testing overloading of function argument involving template template
// parameters
// Reported by Thomus Kunert <kunert@physik.tu-dresden.de>
template<class A>
class H{};
template <class T>
void f( const T& ){} // #1
template< template<class, class> class X,
class A, class B>
void f( const X<A,B> & x ) // #2
{}
int main()
{
H<int> h;
f(h); // #3
}
Go to most recent revision | Compare with Previous | Blame | View Log