URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [nontype3.C] - Rev 716
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
enum E { e };
template <const E* ep>
struct S1
{
static const char* s;
};
template <int D>
struct S2 {};
template <>
struct S2<1>
{
static E es[1];
};
struct S3
{
typedef S1<S2<1>::es> S3_Type;
};
E S2<1>::es[1] = {e};
template <>
const char* S1<S2<1>::es>::s = "abc";
Go to most recent revision | Compare with Previous | Blame | View Log