static3.C   [plain text]


// { dg-do assemble  }

class S 
{
  ~S();
public:
  friend void f();
};


S::~S()
{
  static S s;
}