OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [overload/] [template2.C] - Blame information for rev 710

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
typedef int PyObject;
2
typedef PyObject *(*PyCFunction)(PyObject *, PyObject *);
3
template int _clear(PyObject* self);
4
 
5
void _typeInfo()
6
{
7
  reinterpret_cast(_clear); // { dg-error "overloaded function" }
8
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.