Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr57172.C
blob: 2108838136017c9fc49af1e6df88a3bcaee9d947 [
file
] [
log
] [
blame
]
// PR c++/57172
// { dg-do compile { target c++11 } }
template
<
typename
T
>
int
f
(
T
&)
{
return
0
;
}
template
<
typename
T
>
int
f
(
T
&&)
=
delete
;
int
i
;
int
j
=
f
(
i
);