Yes, it happens ta global scope too.
struct foo {}
void method () {}
will give the same error
On Sun, 8 Nov 2004, sabre at nondot dot org wrote:
> On this c++ code:
>
> struct C {
> struct foo { int A; }
> void method();
> };
> This probably also happens at global scope.
> -Chris