re PR c++/48046 (Expected diagnostic "reference to 'type' is ambiguous" not given...
authorJason Merrill <jason@redhat.com>
Wed, 27 Apr 2011 15:56:46 +0000 (11:56 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 27 Apr 2011 15:56:46 +0000 (11:56 -0400)
commit9e0541d9c0b2842b738a99a70673be0752ee591d
treee294f7cba70150155b8106291cc721b1c66c5ce7
parent7036ee2437cd84d585a4149020a2d1fcc89d88fd
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: r173036
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/ambig6.C [new file with mode: 0644]