summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/p8154.C
blob: 126eb25e495cea01d673eed1a868e8ecd1d138fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// { dg-do assemble  }
// { dg-options "-w -fpermissive" }
// prms-id: 8154

class QvFieldData;
class QvNode {
    QvFieldData *fieldData;
};
class QvGroup : public QvNode {
  static QvFieldData *fieldData;
};
class QvUnknownNode : public QvGroup
{
public:
  QvUnknownNode :: QvUnknownNode ();
private:
  static QvFieldData *fieldData;
  virtual QvFieldData *getFieldData() { return fieldData; }
};