Files
ispc/tests_errors/lvalue-2.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

7 lines
91 B
Plaintext

// Can't assign to type "const uniform int32" on left-hand side
int bar(){
4 = 0;
}