URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [memtemp73.C] - Rev 699
Compare with Previous | Blame | View Log
// { dg-do run }
template <class T> struct A {
template <class U> void f(U);
};
template <int i> struct B { };
template <class T> template <class U>
void A<T>::f (U)
{
enum { foo };
B<foo> b;
}
int main ()
{
A<char> a;
a.f (42);
}