summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/err-msg11.C
blob: abfe0e12753651b67cf900b6f4e6cbcd003ca855 (plain)
1
2
3
// { dg-do assemble  }
// GROUPS passed error-messages
void foo (mutable int x);// { dg-error "" }  non-member `x' cannot be declared `mutable'.*