Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
overload-conv-2.C
blob: b95994d7fc423d4378d13a4dc0a0ec534ac04d8b [
file
] [
log
] [
blame
]
// { dg-do link { target c++11 } }
struct
T
{};
struct
S
{
S
(
T
const
&)
{}
};
void
f
(
const
S
&);
void
f
(
S
&&)
{}
int
main
()
{
T t
;
f
(
t
);
}