blob: 17db4f0a137a170e7210443c7e9a328d513f66e2 [file] [log] [blame]
// { 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 ()
{
}