1// { dg-do assemble  }
2// GROUPS passed nested-classes
3// The bug here is that wer'e getting a message about inner not
4// being a basetype itself.  I think it's because it's being
5// compared as the "inner" we knew about when it was forward-declared,
6// versus the "inner" we know about when it *has* been defined.
7
8class temp
9{
10public:
11        struct inner;
12        inner *trump()
13        {
14                return (tt);
15        }
16        struct inner
17        {
18                int ll;
19        }*tt;
20};
21