crash27.C   [plain text]


// { dg-do assemble  }
// GROUPS passed old-abort
class First {
public:
  First(const First& a);
};

class Second {
  int i;
  First f;
public:
  ~Second() {}
  Second func();
};

void foo()
{
  extern Second x;
  x = x.func();
}