re PR c++/28056 (enum accepted as scope)
authorMark Mitchell <mark@codesourcery.com>
Fri, 25 Aug 2006 17:03:50 +0000 (17:03 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 25 Aug 2006 17:03:50 +0000 (17:03 +0000)
commit2884e22c4b89b5a12977743bede11cde3a781316
treea2988c448d8b37ffa24849355e13f63dc860b19d
parent7d3bec9db50a2d46f697ad621edd50165e51c168
re PR c++/28056 (enum accepted as scope)

PR c++/28056
* decl.c (grokdeclarator): Disallow declarations with qualified
names in local scopes.
PR c++/28056
* g++.dg/parse/local1.C: New test.

From-SVN: r116410
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/qual1.C
gcc/testsuite/g++.dg/parse/local1.C [new file with mode: 0644]