------- Additional Comments From jakub at gcc dot gnu dot org 2005-01-17 21:23 ------- Smaller testcase that triggers this is: void foo ();
namespace N { struct S; } struct N::S { S (); friend void ::foo (); }; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19349