URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 384 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// prms-id: 9979
|
// prms-id: 9979
|
|
|
template < class Referencee >
|
template < class Referencee >
|
class Referencer
|
class Referencer
|
{
|
{
|
public:
|
public:
|
Referencer() {}
|
Referencer() {}
|
};
|
};
|
|
|
template
|
template
|
class List
|
class List
|
{
|
{
|
public:
|
public:
|
List() {}
|
List() {}
|
};
|
};
|
|
|
template
|
template
|
class Dictionary
|
class Dictionary
|
{
|
{
|
public:
|
public:
|
Dictionary() : i_buckets (new List[1234]) {}
|
Dictionary() : i_buckets (new List[1234]) {}
|
~Dictionary() { delete [] i_buckets; }
|
~Dictionary() { delete [] i_buckets; }
|
|
|
List * i_buckets;
|
List * i_buckets;
|
};
|
};
|
|
|
class Exchangeable {};
|
class Exchangeable {};
|
class ExchangeableHandle {};
|
class ExchangeableHandle {};
|
|
|
class ExchangeableList
|
class ExchangeableList
|
: public Dictionary, ExchangeableHandle>
|
: public Dictionary, ExchangeableHandle>
|
{
|
{
|
public:
|
public:
|
ExchangeableList(int size=0);
|
ExchangeableList(int size=0);
|
};
|
};
|
|
|
class ObjectExchange
|
class ObjectExchange
|
{
|
{
|
public:
|
public:
|
ObjectExchange() {}
|
ObjectExchange() {}
|
|
|
ExchangeableList i_theWatchList; // Instruments being monitored
|
ExchangeableList i_theWatchList; // Instruments being monitored
|
};
|
};
|
|
|
int
|
int
|
main()
|
main()
|
{
|
{
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.