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