1 typedef int PyObject;
2 typedef PyObject *(*PyCFunction)(PyObject *, PyObject *);
3 template<class T> int _clear(PyObject* self);
4 
_typeInfo()5 void _typeInfo()
6 {
7   reinterpret_cast<PyCFunction>(_clear); // { dg-error "overloaded function" }
8 }
9