1// Can't assign to type
2
3struct Foo {
4    int x;
5};
6
7int func(const Foo f) {
8    f.x = 0;
9}
10