summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/misc9.C
blob: 3d8858cf64a248a348d6552bac5d2e4d7c7b9462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }
// { dg-options "-Wall -pedantic" }
// GROUPS passed qualifiers
class bee {
 public:
  int bee::bar;		// { dg-error "extra" } there is an extra bee:: here
};

class foo {
 public:
  int bee::bar;		// { dg-error "not derived" } you cannot do this
    int me();
};