URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [nontype22.C] - Rev 749
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/44629
// The proper mangling is unclear.
template<typename T> int cmp1(T a, T b);
template<typename T, int (*cmp)(T, T) = cmp1> struct A { };
template <typename T> void f (A<T> &);
void g()
{
A<char> a;
f(a);
}
Go to most recent revision | Compare with Previous | Blame | View Log