Files
ispc/tests_errors/lvalue-3.ispc
Matt Pharr 11033e108e Fix bug that prohibited assignments with pointer expressions on the LHS
Previously, code like "*(ptr+1) = foo" would claim that the LHS was invalid
for an assignment expression.

Issue #138.
2012-01-06 14:21:03 -08:00

8 lines
116 B
Plaintext

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