8sa1-gcc/gcc/testsuite/g++.old-deja/g++.brendan/nest2.C
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

19 lines
194 B
C

// Build don't link:
// GROUPS passed nested-classes
class A {
protected:
class B {
public:
~B();
private:
float _datum;
};
private:
B *_b;
};
A::B::~B()
{
_datum = 8.0;
}