]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/48046 (Expected diagnostic "reference to 'type' is ambiguous" not given...
authorJason Merrill <jason@redhat.com>
Thu, 28 Apr 2011 15:02:17 +0000 (11:02 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 28 Apr 2011 15:02:17 +0000 (11:02 -0400)
commit5c1811fc4f9d392f3f11bea59700a03274603f5a
tree40fe0612fbe8f419d51aea119c449efc2fb890c5
parent310b8e53fe588696b2ecafdbb4e9404eeca88257
re PR c++/48046 (Expected diagnostic "reference to  'type' is ambiguous" not given for function-local static declaration)

PR c++/48046
* parser.c (cp_parser_diagnose_invalid_type_name): Commit
to tentative parse sooner.

From-SVN: r173116
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/ambig6.C [new file with mode: 0644]