Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/mutable1.C

raw
1 // { dg-do run }
2 struct X
3 {
4 X () { }
5 mutable int x;
6 };
7
8 int main ()
9 {
10 const X x;
11 x.x = 0;
12 }