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