summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/nest23.C
blob: c62ba9fef051b8f8fe42c4622651fa0c0909d527 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do assemble  }
// GROUPS passed nested-classes
class CS {
public:
    class PS {
    };
};

class NCS: public CS {
public:
    class S: public PS {
    };
};

int i;