URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.bob/] [template1.C] - Rev 305
Compare with Previous | Blame | View Log
// { dg-do assemble }
// prms-id: 10038
template < class Referencee >
class Referencer
{
public:
Referencer (Referencee const * pReferencee);
};
template <class T>
class Array
{
public:
int addElement (T const & e);
int addElement ();
};
class ScenarioGroup;
class ScenarioSet : public Array< Referencer<ScenarioGroup> >
{
typedef Array< Referencer<ScenarioGroup> > arrayBase;
void addElement(ScenarioGroup *group)
{
arrayBase::addElement(group);
}
};