summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/nest2.C
blob: cee335d9d297a937db582674d617811ef107ed8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }
// GROUPS passed nest
struct B
{
    class B_I { };
};

struct D : public B
{
    B_I foo;
    class I : public B_I { };
};