URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 384 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
|
|
class XObject
|
class XObject
|
{
|
{
|
public:
|
public:
|
int foo;
|
int foo;
|
};
|
};
|
|
|
class XObjectPtr
|
class XObjectPtr
|
{
|
{
|
public:
|
public:
|
explicit
|
explicit
|
XObjectPtr(XObject* theXObject = 0) : m_xobjectPtr(theXObject)
|
XObjectPtr(XObject* theXObject = 0) : m_xobjectPtr(theXObject)
|
{
|
{
|
}
|
}
|
|
|
private:
|
private:
|
XObject * m_xobjectPtr;
|
XObject * m_xobjectPtr;
|
};
|
};
|
|
|
class SelectionEvent
|
class SelectionEvent
|
{
|
{
|
public:
|
public:
|
SelectionEvent(bool selection) : m_selection() {}
|
SelectionEvent(bool selection) : m_selection() {}
|
const XObjectPtr m_selection;
|
const XObjectPtr m_selection;
|
};
|
};
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.