URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [scope3.C] - Rev 716
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed scoping
// This is fixed when NEW_CLASS_SCOPING is on.
template<class T>
class ArrayG {
public:
ArrayG();
protected:
const unsigned INITIAL;
T* array;
};
template<class T>
ArrayG<T>::ArrayG():
array(new T[INITIAL])
{ }
struct X {
struct Correspondence {
int i;
};
void fill(ArrayG<Correspondence>& a);
};
Go to most recent revision | Compare with Previous | Blame | View Log