blob: b6e625bad1b2a492a81d03a3c0c29f4ae4e8f01b [file] [log] [blame]
// { dg-options "-Wno-unused-value" }
typedef int PyObject;
typedef PyObject *(*PyCFunction)(PyObject *, PyObject *);
template<class T> int _clear(PyObject* self); // { dg-error "note" }
void _typeInfo()
{
reinterpret_cast<PyCFunction>(_clear); // { dg-error "reinterpret_cast cannot resolve overloaded function" }
}