URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [explicit4.C] - Rev 716
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed templates
template <class T>
void foo(T t);
template <class T>
struct S {};
template <class T>
void bar(T t)
{
void (*f)(S<T> ) = &foo<S<T> >;
}
void baz()
{
bar(3);
}
Go to most recent revision | Compare with Previous | Blame | View Log