Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
elision3.C
blob: 7c5c8b9f0b9ffe7f357512768fb710e15851cb7f [
file
] [
log
] [
blame
]
// PR c++/84441
// { dg-do compile { target c++11 } }
struct
B
{
int
*
b
;
};
struct
A
{
B b
;
A
(
A
&&);
};
struct
C
{
A c
;
int
d
;
};
C bar
();
struct
D
:
C
{
D
()
:
C
(
0
?
bar
()
:
bar
())
{}
};
D d
;