URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [overload30.C] - Rev 772
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// PRMS Id: 6412
class Foo;
template <class F>
class Temp
{
F func_;
public:
Temp (F f) : func_(f) {}
};
template <class T>
T* func1 (T* t) { return t; }
Temp<Foo*(*)(Foo*)> temp2(func1);
Go to most recent revision | Compare with Previous | Blame | View Log