Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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" }
}