10 lines
92 B
Plaintext
10 lines
92 B
Plaintext
// Can't assign to type
|
|
|
|
struct Foo {
|
|
int x;
|
|
};
|
|
|
|
int func(const Foo f) {
|
|
f.x = 0;
|
|
}
|