1 2 3 4
// { dg-do assemble } // GROUPS passed error-messages class foo {}; ~foo () {}// { dg-error "" } destructors must be member functions.*