mutable1.C   [plain text]


// { dg-do run  }
struct X
{
  X () { }
  mutable int x;
};

int main ()
{
  const X x;
  x.x = 0;
}