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

33 lines
521 B
C

// Build don't link:
// Caused an Internal Compiler Error. Works now.
// prms-id: 3070
class Object {
public:
virtual ~Object() {}
};
class BaseView {
protected:
virtual void _forwardReceiveUpdate() = 0;
};
class View : public BaseView {
public:
virtual ~View();
};
class TestViewBaseUpdate {
protected:
virtual void _receiveUpdate();
};
class TestViewBase : public TestViewBaseUpdate, private View {
};
class TestView : public Object, public TestViewBase {
protected:
virtual void _receiveUpdate();
};