4 fail_compilation/diag12777.d(14): Error: cannot modify `this.v` in `const` function
5 fail_compilation/diag12777.d(15): Error: cannot modify `this.v` in `immutable` function
6 fail_compilation/diag12777.d(21): Error: cannot modify `this.v` in `const` function
7 fail_compilation/diag12777.d(22): Error: cannot modify `this.v` in `immutable` function
14 void fun() const { v
++; }
15 void gun() immutable { v
++; }
21 void fun() const { v
++; }
22 void gun() immutable { v
++; }