------- Comment #3 from mmitchel at gcc dot gnu dot org 2006-07-23 20:28 ------- Subject: Bug 28025
Author: mmitchel Date: Sun Jul 23 20:28:26 2006 New Revision: 115687 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115687 Log: PR c++/28025 * cp-tree.h (LOOKUP_HIDDEN): New macro. Reformat comments. * name-lookup.c (unqualified_namespace_lookup): There is no way to have a hidden name in non-namespace scopes. * pt.c (tsubst_friend_class): Look for hidden names. * decl.c (lookup_and_check_tag): Fix typo in comment. * semantics.c (finish_compound_literal): Fix typo in comment. PR c++/28025 * g++.dg/template/friend45.C: New test. Added: trunk/gcc/testsuite/g++.dg/template/friend45.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/decl.c trunk/gcc/cp/name-lookup.c trunk/gcc/cp/pt.c trunk/gcc/cp/semantics.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28025