Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
pr52071.C
blob: 99456c0041a077c3c6fe337f0e8ae2f3a0154ed9 [
file
] [
log
] [
blame
]
// PR c++/52071
struct
C1
{
C1
(
int
);
};
struct
C2
{
C2
();
C2
(
C1
);
};
void
f
()
{
int
x
;
int
y
=
1
;
C2 vc
;
vc
=
C2
(
C1
(
x
=
y
));
vc
=
(
C2
(
C1
(
x
=
y
)));
vc
=
(
C2
(
C1
((
0
,
x
=
y
))));
}