blob: e5b1744576557cd20e6dd2759bbe66e1d370af32 [file] [log] [blame]
// { dg-do assemble }
// GROUPS passed old-abort
class foo {
public:
virtual foo &operator <<(foo &(foo::*)(foo &));
};
foo &foo::operator<<(foo &(foo::*manip)(foo &))
{
(this->*manip)(*this);
return *this;
}