// Build don't link: // Special g++ Options: -w // GROUPS passed visibility template class Feld { public: Feld(const Feld&) {} }; class Polynom : private Feld { friend Polynom f(const Polynom&); }; Polynom f(const Polynom& p) { return p; }