This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54359] [C++0x] decltype in member function's trailing return type when defined outside of class
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 18 Mar 2013 03:41:18 +0000
- Subject: [Bug c++/54359] [C++0x] decltype in member function's trailing return type when defined outside of class
- Auto-submitted: auto-generated
- References: <bug-54359-4@http.gcc.gnu.org/bugzilla/>
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