namespace N { struct SB { friend struct foo; }; } #include "a.h"