URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [t14.C] - Rev 165
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
class OBJECT
{
int a;
};
template <class T> class TESTA
{
public:
TESTA();
T foo(int i) {T t = 0; return t}; // { dg-error "" } no semi
};
void foo()
{
TESTA<OBJECT *> *foo;
foo = new TESTA<OBJECT *>;
}
Go to most recent revision | Compare with Previous | Blame | View Log