namespace N { template struct A { friend int f(A); }; } #include "c.h"