Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
overload
/
conv-op3.C
blob: 9d04a37fe5e802e2361449d9fa7abc0339aeba92 [
file
] [
log
] [
blame
]
// c++/84306
// { dg-do link { target c++11 } }
struct
foo
{
foo
()
=
default
;
foo
(
foo
const
&);
template
<
typename
T
>
explicit
foo
(
T
&&)
{
}
};
int
main
()
{
foo f1
;
foo f2
{
f1
};
}