Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
overload
/
ref-conv2.C
blob: bb0ad39d6b1c292156488a7091511f5f4cf118dc [
file
] [
log
] [
blame
]
// PR c++/50523
template
<
class
T
>
struct
A
{
A
(
const
T
&);
operator
T
&()
const
;
operator
const
T
&()
const
;
};
int
main
()
{
A
<int>
a
(
1
);
A
<int>
a2
(
a
);
}