C++ PATCH for c++/38798 (auto f() -> struct A {})

Jason Merrill jason@redhat.com
Sat Oct 17 06:51:00 GMT 2009


DR 770 clarified that we shouldn't try to parse a class or 
enum-specifier in the context of a trailing return type.  I've 
implemented that with a flag passed down into cp_parser_type_specifier.

Tested x86_64-pc-linux-gnu, applied to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 38798.patch
Type: text/x-patch
Size: 7979 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20091017/26c757a1/attachment.bin>


More information about the Gcc-patches mailing list