Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
conversion
/
cond2.C
blob: d31de33e2750c91aca8c202a75d8a827e2442bb2 [
file
] [
log
] [
blame
]
// PR c++/10245
struct
X
{};
struct
Y
{
Y
();
operator
X
()
const
;
private
:
Y
(
const
Y
&);
};
Y y
;
void
foo
()
{
X x
=
(
1
?
Y
()
:
Y
());
}