This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/28056] [4.1/4.2 regression] enum accepted as scope



------- Comment #5 from mmitchel at gcc dot gnu dot org  2006-08-25 17:05 -------
Subject: Bug 28056

Author: mmitchel
Date: Fri Aug 25 17:05:30 2006
New Revision: 116412

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116412
Log:
        PR c++/28056
        * decl.c (grokdeclarator): Disallow declarations with qualified
        names in local scopes.
        PR c++/28056
        * g++.dg/parse/local1.C: New test.
        * g++.dg/other/qual1.C: Tweak error marker.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/parse/local1.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/decl.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/other/qual1.C


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]