summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/nest17.C
blob: 94b8fbdc25e9f7bbd45099c46e18fce733d4614f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }
// GROUPS passed nested-classes
class T {
public:
    typedef int I;
    class Y {int y;};
    typedef Y Z;
};

T::I i;
T::Y y;
T::Z z;