Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
overload
/
template2.C
blob: e7bdaa74b8cfab2f5ecd29d1aac03331fd345ad9 [
file
] [
log
] [
blame
]
typedef
int
PyObject
;
typedef
PyObject
*(*
PyCFunction
)(
PyObject
*,
PyObject
*);
template
<
class
T
>
int
_clear
(
PyObject
*
self
);
void
_typeInfo
()
{
reinterpret_cast
<
PyCFunction
>(
_clear
);
// { dg-error "overloaded function" }
}