Previously, code like "*(ptr+1) = foo" would claim that the LHS was invalid for an assignment expression. Issue #138.
9 lines
117 B
Plaintext
9 lines
117 B
Plaintext
// Left hand side of assignment expression can't be assigned to
|
|
|
|
int foo() {return 2;}
|
|
|
|
int bar()
|
|
{
|
|
foo() = 2;
|
|
}
|