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