☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
elision3.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/elision3.C
code
plain
raw
1
// PR c++/84441
2
// { dg-do compile { target c++11 } }
3
4
struct B {
5
int *b;
6
};
7
struct A {
8
B b;
9
A (A &&);
10
};
11
struct C {
12
A c;
13
int d;
14
};
15
C bar ();
16
struct D : C {
17
D ()
18
: C (0 ? bar () : bar ())
19
{}
20
};
21
D d;