re PR c++/17797 (ICE in build_reinterpret_cast)
2004-10-03 Andrew Pinski <pinskia@physics.uc.edu> PR c++/17797 * g++.dg/overload/template2.C: New test. From-SVN: r88458
This commit is contained in:
parent
a8c2c49233
commit
a1b1b3cd6d
|
@ -1,3 +1,8 @@
|
|||
2004-10-03 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
PR c++/17797
|
||||
* g++.dg/overload/template2.C: New test.
|
||||
|
||||
2004-10-03 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
PR tree-optimization/16632
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
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" }
|
||||
}
|
Loading…
Reference in New Issue