URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [recursion2.C] - Rev 839
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