Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
defaulted42.C
blob: 1ac25a90b2761822adf57f6a2662caeebc830b97 [
file
] [
log
] [
blame
]
// DR 941
// { dg-require-effective-target c++11 }
template
<
class
T
>
T f
(
T
)
=
delete
;
template
<>
int
f
(
int
)
{
return
42
;
}
int
main
()
{
f
(
42
);
}