------- Comment #1 from pinskia at gcc dot gnu dot org 2008-05-06 21:31 ------- I don't think this is a bug, the friend class here is really ::foo. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36163