URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [template7.C] - Rev 841
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed templates
template <class ET>
class ChainElem {
public:
ET data;
};
template <class ET>
class Chain {
public:
ChainElem<ET> *first;
virtual ~Chain() {}
};
struct B {
};
struct X : B {
~X ();
};
struct TBNFexpression {
};
struct TCaseLabelPair {
};
struct TVariant {
Chain<TCaseLabelPair> CaseLabelList;
};
struct TCaseConstruct {
Chain<TBNFexpression> TagFieldPrefixes;
Chain<TVariant> Variants;
};
struct Production {
X TypeName;
};
struct SimpleSyntax {
Chain<Production> Productions;
};
Go to most recent revision | Compare with Previous | Blame | View Log