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/] [recursion2.C] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do run }
template< int i > struct T :
public T< i-1 >
{
};
template<> struct T< 0 >
{
};
template< class F > struct T1 :
public T< F::dim >
{
};
template< int i > struct S
{
enum { dim = i } ;
};
int main()
{
T1< S< 4 > > t ;
return( 0 ) ;
}
Go to most recent revision | Compare with Previous | Blame | View Log