summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/nest24.C
blob: 31ab8758805b630f234fd8cdbbda3eac1b86497b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do assemble  }
// GROUPS passed nested-classes
struct A {
  A (){}
};

void foo ()
{
 struct B {};

 struct S : B {
   A a;
 };
}