[Bug c++/54359] [C++0x] decltype in member function's trailing return type when defined outside of class

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 18 03:41:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54359

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2013-03-18 03:41:18 UTC ---
Author: jason
Date: Mon Mar 18 03:41:10 2013
New Revision: 196765

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196765
Log:
    PR c++/54359
    PR c++/56639
    * parser.c (cp_parser_direct_declarator): Bail if we see a
    qualified-id not at namespace scope.

Added:
    trunk/gcc/testsuite/g++.dg/template/arrow2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/g++.dg/parse/typename7.C



More information about the Gcc-bugs mailing list