URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.robertl/] [eb37.C] - Rev 414
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
template<class T>
struct A {
typedef T T1;
};
template<class T>
struct B {
typedef T T2;
};
template<class T>
struct C {
};
template<class E>
C<typename E::T2::T1>
foo (E)
{
return C<typename E::T2::T1>();
}
void test()
{
foo(B<A<int> >());
}
Go to most recent revision | Compare with Previous | Blame | View Log