------- Additional Comments From carlo at gcc dot gnu dot org  2004-10-22 15:32 -------
Created an attachment (id=7400)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7400&action=view)
Maximal stripped down test case.

This snippet still shows the same difference.
If the 'friend' is removed from class B, then
also 3.3.3 gives the same error.  If however
class B is changed to not be a template anymore,
than 3.3.3 and 3.4.2 both compile this just fine.

Which part in the standard says that 3.4.2 is
the correct behaviour for this case?


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #7399 is|0                           |1
           obsolete|                            |


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

Reply via email to