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