repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
overload
/
template2.C
blob
e7bdaa74b8cfab2f5ecd29d1aac03331fd345ad9
1
typedef int PyObject;
2
typedef PyObject *(*PyCFunction)(PyObject *, PyObject *);
3
template<class T> int _clear(PyObject* self);
4
5
void _typeInfo()
6
{
7
reinterpret_cast<PyCFunction>(_clear); // { dg-error "overloaded function" }
8
}