URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [memclass5.C] - Rev 154
Compare with Previous | Blame | View Log
// { dg-do run }
template <class T> struct A {
template <class U> struct B {
template <class V> static void f () { }
void g () { }
};
};
template <class T, class U>
void f ()
{
A<T>::template B<U>::template f<T> ();
typename A<T>::template B<U> b;
typename A<T>::template B<U> b2;
b.A<T>::template B<U>::~B();
}
template <class T> struct C: public A<T>::template B<T> { };
int main ()
{
f<int, char>();
}