URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [nest10.C] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed nested-classes
class A
{
public:
class B
{
public:
int f ();
void g (int);
private:
int b;
};
};
int A::B::f ()
{
int val=b;
return val;
}
void A::B::g (int val)
{
b = val;
}
int main ()
{
}
Go to most recent revision | Compare with Previous | Blame | View Log