Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
;