1// Can't assign to type "const varying int32" on left-hand side of expression
2
3struct Foo {
4    int x;
5};
6
7void f(const Foo &f) {
8    ++f.x;
9}
10