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: c++/7378: ...


No longer ICEs.  No, with the new parser, we get the message
Test.cpp: At global scope:
Test.cpp:23: error: return type specification for constructor invalid

Wow.  It's interpreting the *entire class specification* as the return 
type for the constructor.  That's non-intuitive.

Leaving this bug open because of that.


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