Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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
))));
}