This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug c++/18368] New: C++ error message regression



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]