1 2 3 4 5 6
// { dg-do assemble } // GROUPS passed error-messages class foo { public: friend mutable int x ();// { dg-error "" } non-object member `x' cannot be declared `mutable' };