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