------- Comment #5 from redi at gcc dot gnu dot org  2009-10-30 12:15 -------
(In reply to comment #3)
> I think it is a bug, because the class test is declared at the scope ::

A friend declaration specifies a class that belongs to the innermost enclosing
namespace scope, outer scopes are not considered.

This is not a bug.


-- 


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

Reply via email to