summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.gb/scope09.C
blob: 8f7d5391b5bd28f6d05498050bf2b42f374f8a3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-do assemble  }
// GROUPS passed gb scope
class enclose {
  int e;
protected:
  class nested {
    int n;
  };
};

class derived : public enclose {
protected:
  class nested_derived : public nested {
    int nd;
  };
};