Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
rv-template1.C
blob: dcc4e5efb70fdadb2fced55d086806c997d4aa4a [
file
] [
log
] [
blame
]
// PR c++/44870
// { dg-do compile { target c++11 } }
void
foo
(
int
&&
data
);
template
<
typename
T
>
void
bar
(
T t
)
{
foo
(
int
());
}
void
baz
()
{
bar
(
0
);
}