summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.bob/static1.C
blob: e3ce9e532d5148d8531568388989a0f56bf797d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }
class A {
  public:
    static int a;
};

class B : public A {
  public:
    static int b;
};

int B::a; // { dg-error "" }