URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [regress/] [template-const2.C] - Rev 774
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/48707
// { dg-options -std=c++0x }
struct A {
static int a();
};
template<typename X>
struct B: A {
static int const b;
};
template<typename X>
int const B<X>::b=B<X>::a();
Go to most recent revision | Compare with Previous | Blame | View Log