Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.old-deja / g++.brendan / crash40.C
blobe5b1744576557cd20e6dd2759bbe66e1d370af32
1 // { dg-do assemble  }
2 // GROUPS passed old-abort
3 class foo {
5 public:
7         virtual foo &operator <<(foo &(foo::*)(foo &));
8 };
11 foo &foo::operator<<(foo &(foo::*manip)(foo &))
14    (this->*manip)(*this);
16    return *this;