Commit 13a3ded6 authored by pinskia's avatar pinskia

2004-10-03 Andrew Pinski <pinskia@physics.uc.edu>

        PR c++/17797
        * g++.dg/overload/template2.C: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88458 138bc75d-0d04-0410-961f-82ee72b054a4
parent 4154c014
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
......
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" }
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment