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