[Bug c++/18698] [4.0/4.1/4.2 regression] Error message using "using" for code not using "using" ;-)
jason at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jun 30 19:47:00 GMT 2006
------- Comment #11 from jason at gcc dot gnu dot org 2006-06-30 19:46 -------
Subject: Bug 18698
Author: jason
Date: Fri Jun 30 19:45:54 2006
New Revision: 115102
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115102
Log:
PR c++/18698
* decl2.c (grokfield): Only try to treat the decl as an access
declaration if the scope is a class.
Added:
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/parse/access10.C
- copied unchanged from r115095,
trunk/gcc/testsuite/g++.dg/parse/access10.C
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/decl2.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18698
More information about the Gcc-bugs
mailing list