URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [nest12.C] - Rev 772
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed nested-classes
struct enclose {
class nested;
nested *nptr;
class nested {
int x;
};
void f();
};
void enclose::f()
{
nptr = new enclose::nested;
}
void g()
{
enclose obj;
obj.nptr = new enclose::nested;
}
Go to most recent revision | Compare with Previous | Blame | View Log