URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [memclass2.C] - Rev 384
Compare with Previous | Blame | View Log
// { dg-do run }
template <class T> struct A {
template <class U> struct B {
template <class V> void f (V) { }
void g () { }
};
template <class W> struct B<W*> {
void h () { }
};
};
int main ()
{
A<int>::B<char> b;
b.f (42);
b.g ();
A<double>::B<void*> b2;
b2.h ();
}