summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/err-msg12.C
blob: e9bd5a6436b71b75dfe48466eb2fed0b289b5d2d (plain)
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'
};