summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/nested5.C
blob: 8d6a5cf69ca5140810a096781f46557e9f9d9bcc (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }

struct A {
  struct B { };
};

struct C : public A {
  struct D
    : public B			// { dg-bogus "" } can't find B
    { };
};