OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [other/] [pr36944.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
/* { dg-do compile } */
2
 
3
class XObject
4
{
5
public:
6
  int foo;
7
};
8
 
9
class XObjectPtr
10
{
11
public:
12
 explicit
13
 XObjectPtr(XObject* theXObject = 0) : m_xobjectPtr(theXObject)
14
 {
15
 }
16
 
17
private:
18
 XObject * m_xobjectPtr;
19
};
20
 
21
class SelectionEvent
22
{
23
public:
24
 SelectionEvent(bool selection) : m_selection() {}
25
 const XObjectPtr m_selection;
26
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.