repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
pr36944.C
blob
b4a1dfa46fdff202ef586733db63c380481c4c4e
1
/* { 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
};