Files
ispc/tests_errors/lvalue-3.ispc
Matt Pharr b8987faeee Do assignment lvalue error checking in type checking
Added some tests related to this.
Also improved source file position reporting in error reporting.
2011-12-15 11:09:23 -08:00

8 lines
101 B
Plaintext

// Left hand side of assignment statement can't be assigned to
int bar(){
int x;
4 = x;
}